-
Notifications
You must be signed in to change notification settings - Fork 32
Changes related to the next MeiliSearch release (v0.21.0) #40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Update README
Rename attributes_for_faceting into filterable_attributes
Update PendingUpdateX
Rename Filters into Filter
Adding tests
bidoubiwa
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Synonyms/Stop words value to null has been updated in the setting structure but not in their respective functions:
Future<PendingUpdate> updateStopWords(List<String> stopWords);
/// Update synonyms of the index
Future<PendingUpdate> updateSynonyms(Map<String, List<String>> synonyms);| test('facetDistributions parameter', () async { | ||
| var index = await createBooksIndex(); | ||
| var response = await index | ||
| .updateSettings(IndexSettings( | ||
| filterableAttributes: ['tag'], | ||
| )) | ||
| .waitFor(); | ||
| expect(response.status, 'processed'); | ||
| var result = await index.search('prince', facetsDistribution: ['*']); | ||
| expect(result.hits, hasLength(2)); | ||
| }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add a test on the returned facetDistribution? To test if no 0 values are present. I'm not sure it is needed but out of curiosity
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a test for the search engine from my POV, plus this test is already present in many SDKs :)
Co-authored-by: cvermand <33010418+bidoubiwa@users.noreply.github.com>
curquiza
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors merge
|
Build succeeded: |
Related to this issue: meilisearch/integration-guides#117
This PR:
This PR is auto-generated for the pre-release week purpose. Exceptionally for this release, the pre-release time will be more than just one week.
Done:
attributes_for_facetingintofilterable_attributesRename attributes_for_faceting into filterable_attributes #61processingstatus to check inPendingUpdateX()method Update PendingUpdateX #62