Skip to content

Commit

Permalink
Fix similar docs code sample
Browse files Browse the repository at this point in the history
  • Loading branch information
norkunas authored Sep 2, 2024
1 parent 110be45 commit a13abe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .code-samples.meilisearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ search_parameter_guide_matching_strategy_3: |-
$client->index('movies')->search('white shirt', ['matchingStrategy' => 'frequency']);
get_similar_post_1: |-
$similarQuery = new SimilarDocumentsQuery('TARGET_DOCUMENT_ID');
$client->index('INDEX_NAME')->getSimilar($similarQuery);
$client->index('INDEX_NAME')->searchSimilarDocuments($similarQuery);
multi_search_federated_1: |-
$client->multiSearch([
(new SearchQuery())
Expand Down

0 comments on commit a13abe2

Please sign in to comment.