diff --git a/.code-samples.meilisearch.yaml b/.code-samples.meilisearch.yaml index 38cc1dd2..1120f5d1 100644 --- a/.code-samples.meilisearch.yaml +++ b/.code-samples.meilisearch.yaml @@ -199,6 +199,14 @@ search_parameter_guide_offset_1: |- await client.index('movies').search('shifu', offset: 1); search_parameter_guide_limit_1: |- await client.index('movies').search('shifu', limit: 2); +search_parameter_guide_matching_strategy_1: |- + import 'package:meilisearch/src/matching_strategy_enum.dart'; + + await client.index('movies').search('big fat liar', matchingStrategy: MatchingStrategy.last); +search_parameter_guide_matching_strategy_2: |- + import 'package:meilisearch/src/matching_strategy_enum.dart'; + + await client.index('movies').search('big fat liar', matchingStrategy: MatchingStrategy.all); search_parameter_guide_retrieve_1: |- await client .index('movies')