Skip to content

Commit

Permalink
Merge #571
Browse files Browse the repository at this point in the history
571: Changes related to the next Meilisearch release (v1.11.0) r=brunoocasali a=meili-bot

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

This PR:
- gathers the changes related to the next Meilisearch release (v1.11.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 v1.11.0 is out.

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

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


Co-authored-by: meili-bot <74670311+meili-bot@users.noreply.github.com>
Co-authored-by: curquiza <clementine@meilisearch.com>
  • Loading branch information
3 people authored Oct 28, 2024
2 parents e66dc28 + 409502d commit 10e07e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .code-samples.meilisearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ update_search_cutoff_1: |-
reset_search_cutoff_1: |-
client.index('movies').reset_search_cutoff_ms
get_similar_post_1: |-
client.index('INDEX_NAME').search_similar_documents('TARGET_DOCUMENT_ID')
client.index('INDEX_NAME').search_similar_documents('TARGET_DOCUMENT_ID', embedder: 'default')
search_parameter_reference_ranking_score_threshold_1: |-
client.index('INDEX_NAME').search('badman', {
rankingScoreThreshold: 0.2
Expand Down
2 changes: 1 addition & 1 deletion spec/meilisearch/index/search/similar_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

new_index.add_documents(documents).await

response = new_index.search_similar_documents('287947')
response = new_index.search_similar_documents('287947', embedder: 'manual')

expect(response['hits']).not_to be_empty
expect(response['estimatedTotalHits']).not_to be_nil
Expand Down

0 comments on commit 10e07e6

Please sign in to comment.