File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff 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();
16301630get_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();
16361636update_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();
16421642reset_search_cutoff_1 : |-
16431643 let task: TaskInfo = client
1644- .index("books ")
1644+ .index("movies ")
16451645 .reset_search_cutoff_ms()
16461646 .await
16471647 .unwrap();
You can’t perform that action at this time.
0 commit comments