File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -1704,3 +1704,29 @@ create_snapshot_1: |-
1704
1704
.create_snapshot()
1705
1705
.await
1706
1706
.unwrap();
1707
+ search_parameter_reference_distinct_1 : |-
1708
+ let res = client
1709
+ .index("INDEX_NAME")
1710
+ .search()
1711
+ .with_query("QUERY TERMS")
1712
+ .with_distinct("ATTRIBUTE_A")
1713
+ .execute()
1714
+ .await
1715
+ .unwrap();
1716
+ distinct_attribute_guide_filterable_1 : |-
1717
+ let task: TaskInfo = client
1718
+ .index("products")
1719
+ .settings()
1720
+ .set_filterable_attributes(["product_id", "sku", "url"])
1721
+ .execute()
1722
+ .await
1723
+ .unwrap();
1724
+ distinct_attribute_guide_distinct_parameter_1 : |-
1725
+ let res = client
1726
+ .index("products")
1727
+ .search()
1728
+ .with_query("white shirt")
1729
+ .with_distinct("sku")
1730
+ .execute()
1731
+ .await
1732
+ .unwrap();
You can’t perform that action at this time.
0 commit comments