algolia / algoliasearch-django

Seamless integration of Algolia into your Django project.
https://www.algolia.com
MIT License
172 stars 65 forks source link

Feature request: Support distinct option for de-duplication #271

Open m-vdb opened 5 years ago

m-vdb commented 5 years ago

Description

Documentation: https://www.algolia.com/doc/guides/ranking/distinct/#distinct-for-de-duplication

I am hitting the 10kb limit for records and I need to be able to support de-duplication. Here is my use case:

Are you willing to accept PRs for this feature? I can draft a spec here and get on with it 💪 Cheers!

m-vdb commented 5 years ago

no one?

clemfromspace commented 5 years ago

Hey @m-vdb,

Sorry for the late answer, we will definitely accept a PR for this case.

Had a quick look at your fork, the global logic looks good so far :)

Happy to review your PR when it's ready!

m-vdb commented 5 years ago

thanks @clemfromspace! I'll be adding tests too. Will let you know when it's ready

m-vdb commented 5 years ago

hey @clemfromspace I finally got the time to finish my work on the PR. I have coded integration tests to validate that everything works. IMO, what's missing:

You can see my new pull request on this repo here: https://github.com/algolia/algoliasearch-django/pull/274

yhoiseth commented 4 years ago

What's the status on this?

soulshake commented 4 years ago

I would like to use this functionality. Is there any plan to merge #274?

francois-travais commented 2 years ago

I would also need this one. Is there any plan to do something about it?