File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -337,7 +337,8 @@ update_settings_1: |-
337337 "release_date"
338338 ])
339339 .with_synonyms(synonyms)
340- .with_typo_tolerance(typo_tolerance);
340+ .with_typo_tolerance(typo_tolerance)
341+ .with_search_cutoff(5);
341342
342343 let task: TaskInfo = client
343344 .index("movies")
@@ -1626,6 +1627,24 @@ reset_proximity_precision_settings_1: |-
16261627 .reset_proximity_precision()
16271628 .await
16281629 .unwrap();
1630+ get_search_cutoff_1 : |-
1631+ let search_cutoff_ms: String = client
1632+ .index("books")
1633+ .get_search_cutoff_ms()
1634+ .await
1635+ .unwrap();
1636+ update_search_cutoff_1 : |-
1637+ let task: TaskInfo = client
1638+ .index("books")
1639+ .set_search_cutoff_ms(Some(0))
1640+ .await
1641+ .unwrap();
1642+ reset_search_cutoff_1 : |-
1643+ let task: TaskInfo = client
1644+ .index("books")
1645+ .reset_search_cutoff_ms()
1646+ .await
1647+ .unwrap();
16291648create_snapshot_1 : |-
16301649 client
16311650 .create_snapshot()
You can’t perform that action at this time.
0 commit comments