Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Fix attributes set candidates #777

Merged
merged 1 commit into from
Feb 14, 2023
Merged

Fix attributes set candidates #777

merged 1 commit into from
Feb 14, 2023

Conversation

ManyTheFish
Copy link
Member

Fixes meilisearch/meilisearch#3483 for v1.0.1

@curquiza
Copy link
Member

@ManyTheFish is it breaking or not?

@ManyTheFish ManyTheFish added the no breaking The related changes are not breaking (DB nor API) label Feb 14, 2023
Copy link
Contributor

@dureuill dureuill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as meilisearch/meilisearch#3490

Approved all the same

@ManyTheFish
Copy link
Member Author

bors merge

@bors
Copy link
Contributor

bors bot commented Feb 14, 2023

@bors bors bot merged commit f79dbdf into main Feb 14, 2023
@bors bors bot deleted the fix-attribute-set-candidates branch February 14, 2023 16:52
bors bot added a commit to meilisearch/meilisearch that referenced this pull request Feb 15, 2023
3490: Fix attributes set candidates r=curquiza a=ManyTheFish

# Pull Request

Fix attributes set candidates for v1.1.0

## details

The attribute criterion was not returning the remaining candidates when its internal algorithm was been exhausted.
We had a loss of candidates by the attribute criterion leading to the bug reported in the issue linked below.
After some investigation, it seems that it was the only criterion that had this behavior.

We are now returning the remaining candidates instead of an empty bitmap.

## Related issue

Fixes #3483
PR on milli for v1.0.1: meilisearch/milli#777


Co-authored-by: ManyTheFish <many@meilisearch.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
no breaking The related changes are not breaking (DB nor API)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pagination did not return result despite metadata saying so
3 participants