Skip to content

Commit 884789e

Browse files
Merge #673
673: Fix similar docs code sample r=brunoocasali a=norkunas # Pull Request ## Related issue Fixes #672 ## What does this PR do? - ... ## PR checklist Please check if your PR fulfills the following requirements: - [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? - [x] Have you read the contributing guidelines? - [x] Have you made sure that the title is accurate and descriptive of the changes? Co-authored-by: Tomas Norkūnas <[email protected]>
2 parents 825d83e + a13abe2 commit 884789e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.code-samples.meilisearch.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ search_parameter_guide_matching_strategy_3: |-
743743
$client->index('movies')->search('white shirt', ['matchingStrategy' => 'frequency']);
744744
get_similar_post_1: |-
745745
$similarQuery = new SimilarDocumentsQuery('TARGET_DOCUMENT_ID');
746-
$client->index('INDEX_NAME')->getSimilar($similarQuery);
746+
$client->index('INDEX_NAME')->searchSimilarDocuments($similarQuery);
747747
multi_search_federated_1: |-
748748
$client->multiSearch([
749749
(new SearchQuery())

0 commit comments

Comments
 (0)