Skip to content

Commit 10e07e6

Browse files
meili-bors[bot]meili-botcurquiza
authored
Merge #571
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 <[email protected]> Co-authored-by: curquiza <[email protected]>
2 parents e66dc28 + 409502d commit 10e07e6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.code-samples.meilisearch.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ update_search_cutoff_1: |-
654654
reset_search_cutoff_1: |-
655655
client.index('movies').reset_search_cutoff_ms
656656
get_similar_post_1: |-
657-
client.index('INDEX_NAME').search_similar_documents('TARGET_DOCUMENT_ID')
657+
client.index('INDEX_NAME').search_similar_documents('TARGET_DOCUMENT_ID', embedder: 'default')
658658
search_parameter_reference_ranking_score_threshold_1: |-
659659
client.index('INDEX_NAME').search('badman', {
660660
rankingScoreThreshold: 0.2

spec/meilisearch/index/search/similar_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646

4747
new_index.add_documents(documents).await
4848

49-
response = new_index.search_similar_documents('287947')
49+
response = new_index.search_similar_documents('287947', embedder: 'manual')
5050

5151
expect(response['hits']).not_to be_empty
5252
expect(response['estimatedTotalHits']).not_to be_nil

0 commit comments

Comments
 (0)