Skip to content
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

Ensure nested field support #374

Merged
merged 2 commits into from
May 4, 2022
Merged

Conversation

alallema
Copy link
Contributor

Add tests on nested fields to ensure it is still maintained in Meilisearch.

@alallema alallema marked this pull request as ready for review April 26, 2022 15:36
@alallema alallema requested review from bidoubiwa and brunoocasali and removed request for bidoubiwa April 26, 2022 15:37
@alallema alallema added the maintenance Anything related to maintenance (CI, tests, refactoring...) label May 2, 2022

private TestData<Movie> testData;

final class Results {
Copy link
Member

Choose a reason for hiding this comment

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

This class already exist in other places right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, in the SearchTest file.


@AfterAll
static void cleanMeiliSearch() {
cleanup();
Copy link
Member

Choose a reason for hiding this comment

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

Hey, look here: https://docs.cypress.io/guides/references/best-practices#Using-after-or-afterEach-hooks

It is not so good to teardown your test setup after the execution :D

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't understand, do you mean I have to do it afterEach instead or not clean at all?
Because I like to clean after each test file in order to have independent test no?

@alallema alallema requested a review from brunoocasali May 3, 2022 12:33
Copy link
Member

@brunoocasali brunoocasali left a comment

Choose a reason for hiding this comment

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

🍕 awesome @alallema :D

@alallema alallema merged commit fc669b3 into bump-meilisearch-v0.27.0 May 4, 2022
@alallema alallema deleted the support-nested-field branch May 4, 2022 13:41
@alallema alallema added enhancement New feature or request and removed maintenance Anything related to maintenance (CI, tests, refactoring...) labels May 5, 2022
bors bot added a commit that referenced this pull request May 9, 2022
365: Changes related to the next Meilisearch release (v0.27.0) r=curquiza a=meili-bot

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

This PR:
- gathers the changes related to the next Meilisearch release (v0.27.0) so that this package is ready when the official release is out.
- should pass the tests against the [latest pre-release of Meilisearch](https://github.com/meilisearch/meilisearch/releases).
- might eventually contain test failures until the Meilisearch v0.27.0 is out.

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

_This PR is auto-generated for the [pre-release week](https://github.com/meilisearch/integration-guides/blob/master/guides/pre-release-week.md) purpose._

Done:
- #366
- #370 
- #374 
- #375 
- #377

Co-authored-by: meili-bot <74670311+meili-bot@users.noreply.github.com>
Co-authored-by: Amélie <alallema@users.noreply.github.com>
Co-authored-by: alallema <amelie@meilisearch.com>
bors bot added a commit that referenced this pull request May 9, 2022
380: Update version for the next release (v0.7.2) r=curquiza a=alallema

This version makes this package compatible with MeiliSearch v0.27.0🎉 
Check out the changelog of [MeiliSearch v0.27.0](https://github.com/meilisearch/MeiliSearch/releases/tag/v0.27.0) for more information about the changes.

## 🚀 Enhancements

- Ensure nested field support #374 `@alallema`
- Add new search parameters `highlightPreTag`, `highlightPostTag` and `cropMarker` #375 `@alallema`


Co-authored-by: alallema <amelie@meilisearch.com>
Co-authored-by: Amélie <alallema@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants