Skip to content

Conversation

@meili-bot
Copy link
Contributor

@meili-bot meili-bot commented Apr 27, 2021

Related to this issue: meilisearch/integration-guides#117

This PR:

  • gathers the changes related to the next MeiliSearch release (v0.21.0) so that this package is ready when the official release is out.
  • should pass the tests against the latest pre-release of MeiliSearch. Until there is an RC version, the tests should be valid against the alpha versions of transplant.
  • might eventually contain test failures until the MeiliSearch v0.21.0 is out.

⚠️ This PR should NOT be merged until the next release of MeiliSearch (v0.21.0) is out.

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:

@meili-bot meili-bot added the skip-changelog The PR will not appear in the release changelogs label Apr 27, 2021
@alallema alallema added breaking-change The related changes are breaking for the users and removed skip-changelog The PR will not appear in the release changelogs labels Jul 5, 2021
@curquiza curquiza requested a review from bidoubiwa August 23, 2021 15:29
Copy link
Contributor

@bidoubiwa bidoubiwa left a 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);

Comment on lines +100 to +110
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));
});
Copy link
Contributor

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

Copy link
Member

@curquiza curquiza Aug 24, 2021

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 :)

curquiza and others added 2 commits August 24, 2021 19:52
Co-authored-by: cvermand <33010418+bidoubiwa@users.noreply.github.com>
@curquiza curquiza marked this pull request as ready for review August 24, 2021 17:55
@curquiza curquiza requested a review from bidoubiwa August 24, 2021 17:56
@curquiza curquiza dismissed bidoubiwa’s stale review August 24, 2021 17:56

changed applied

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.

bors merge

@bors
Copy link
Contributor

bors bot commented Aug 24, 2021

Build succeeded:

@bors bors bot merged commit 97c3b82 into main Aug 24, 2021
@bors bors bot deleted the bump-meilisearch-v0.21.0 branch August 24, 2021 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking-change The related changes are breaking for the users

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants