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

Changes related to the next Meilisearch release (v1.11.0) #571

Merged
merged 4 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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