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

Fix the facet string docids filterable deletion bug #317

Merged
merged 1 commit into from
Aug 23, 2021

Conversation

Kerollmops
Copy link
Member

Fixes a bug where the deletion of documents was returning a decoding error. But only when the settings are set with filterable attributes.

This bug was introduced in #254 in which we made the engine faster in returning the facet distribution. We changed the way we were storing the inverted index, we were no more storing only documents ids with the original values but also groups identified with integers, depending on the facet level we were using. This is similar to how facet numbers are already stored.

⚠️ As @curquiza already said, we must first revert #309 before merging this!

Related to meilisearch/meilisearch#1601.

@Kerollmops Kerollmops added the bug Something isn't working label Aug 20, 2021
bors bot added a commit that referenced this pull request Aug 20, 2021
318: Revert "Sort at query time" r=Kerollmops a=curquiza

Reverts #309

We revert this from `main` not because this leads to a bug, but because we don't want to release it now and we have to merge and release an hotfix on `main`.
Cf:
- #316
- #317

Once the v0.21.0 is released, we should merge again this awesome addition 👌 

Co-authored-by: Clémentine Urquizar <clementine@meilisearch.com>
bors bot added a commit that referenced this pull request Aug 21, 2021
318: Revert "Sort at query time" r=Kerollmops a=curquiza

Reverts #309

We revert this from `main` not because this leads to a bug, but because we don't want to release it now and we have to merge and release an hotfix on `main`.
Cf:
- #316
- #317

Once the v0.21.0 is released, we should merge again this awesome addition 👌 

Co-authored-by: Clémentine Urquizar <clementine@meilisearch.com>
curquiza
curquiza previously approved these changes Aug 23, 2021
Copy link
Member

@curquiza curquiza left a comment

Choose a reason for hiding this comment

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

I tested with MeiliSearch, it works 🎉

@Kerollmops
Copy link
Member Author

bors merge

@bors
Copy link
Contributor

bors bot commented Aug 23, 2021

@bors bors bot merged commit aa1ce97 into main Aug 23, 2021
@bors bors bot deleted the fix-deletion-filterable-attributes branch August 23, 2021 09:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants