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

Make vector test compatible with Meilisearch v1.6+ #579

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

dureuill
Copy link
Contributor

@dureuill dureuill commented Dec 3, 2024

This PR modernizes the test in MeiliSearch::Index - Vector search to be compatible with the Meilisearch v1.6+ way of declaring embedders and vectors.

It allows bundle exec rspec to pass against the upcoming Meilisearch v1.12.0

Fixes #576

@dureuill dureuill added the maintenance Anything related to maintenance (CI, tests, refactoring...) label Dec 3, 2024
Copy link

codecov bot commented Dec 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (61aa49a) to head (6dfc95f).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #579   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           10        10           
  Lines          689       689           
=========================================
  Hits           689       689           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dureuill dureuill force-pushed the modernize-vector-test branch 2 times, most recently from 7880ede to 6dfc95f Compare December 3, 2024 14:32
@dureuill dureuill changed the base branch from main to bump-meilisearch-v1.12.0 December 3, 2024 14:40
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.

Can you rebase your PR so that I don't have the commit from main?

@dureuill dureuill force-pushed the modernize-vector-test branch from 6dfc95f to e9c6161 Compare December 3, 2024 14:42
@dureuill dureuill requested a review from curquiza December 3, 2024 14:42
@dureuill
Copy link
Contributor Author

dureuill commented Dec 3, 2024

Done ✅

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.

Perfectooooooo

@curquiza curquiza merged commit e846b46 into bump-meilisearch-v1.12.0 Dec 3, 2024
6 checks passed
@curquiza curquiza deleted the modernize-vector-test branch December 3, 2024 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Anything related to maintenance (CI, tests, refactoring...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[v1.12.0] Adapt tests following AI changes
2 participants