Skip to content

Commit 8681086

Browse files
authored
Fix .code-samples.meilisearch.yaml
1 parent 9443600 commit 8681086

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.code-samples.meilisearch.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ update_settings_1: |-
338338
])
339339
.with_synonyms(synonyms)
340340
.with_typo_tolerance(typo_tolerance)
341-
.with_search_cutoff(5);
341+
.with_search_cutoff(150);
342342
343343
let task: TaskInfo = client
344344
.index("movies")
@@ -1629,19 +1629,19 @@ reset_proximity_precision_settings_1: |-
16291629
.unwrap();
16301630
get_search_cutoff_1: |-
16311631
let search_cutoff_ms: String = client
1632-
.index("books")
1632+
.index("movies")
16331633
.get_search_cutoff_ms()
16341634
.await
16351635
.unwrap();
16361636
update_search_cutoff_1: |-
16371637
let task: TaskInfo = client
1638-
.index("books")
1639-
.set_search_cutoff_ms(Some(0))
1638+
.index("movies")
1639+
.set_search_cutoff_ms(Some(150))
16401640
.await
16411641
.unwrap();
16421642
reset_search_cutoff_1: |-
16431643
let task: TaskInfo = client
1644-
.index("books")
1644+
.index("movies")
16451645
.reset_search_cutoff_ms()
16461646
.await
16471647
.unwrap();

0 commit comments

Comments
 (0)