You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 31, 2022. It is now read-only.
Update README Android
[This list might not be relevant]
facets improvement again
fix scope for facets
Add restrictHighlightAndSnippetArrays (#101)
Depracated parameters explanation (#103) [ci skip]
But for the current search want to retrieve only facet values for `category` and `author` you can
979
+
980
+
you can specify your attributes coma separated.
981
+
982
+
For this example: `"category,author"`.
972
983
973
984
You can also use JSON string array encoding.
974
985
975
-
For example, `["category","author"]`.
986
+
For this example: `["category","author"]`.
987
+
988
+
**Warnings**
976
989
977
-
Only the attributes that have been added in **attributesForFaceting** index setting can be used in this parameter.
990
+
- When using - [facets](#facets) in a search query, only attributes that have been added in **attributesForFaceting** index setting can be used in this parameter.
978
991
You can also use `*` to perform faceting on all attributes specified in `attributesForFaceting`.
979
992
If the number of results is important, the count can be approximate,
980
993
the attribute `exhaustiveFacetsCount` in the response is true when the count is exact.
@@ -1056,6 +1069,15 @@ Specify the string that is inserted after the highlighted parts in the query res
1056
1069
String used as an ellipsis indicator when a snippet is truncated.
1057
1070
Defaults to an empty string for all accounts created before 10/2/2016, and to … (UTF-8 U+2026) for accounts created after that date.
1058
1071
1072
+
#### restrictHighlightAndSnippetArrays
1073
+
1074
+
- scope: `settings`, `search`
1075
+
- type: `boolean`
1076
+
- default: `false`
1077
+
1078
+
1079
+
If set to true, restrict arrays in highlights and snippets to items that matched the query at least partially else return all array items in highlights and snippets.
1080
+
1059
1081
### Pagination
1060
1082
1061
1083
#### page
@@ -1367,7 +1389,7 @@ This setting is useful on attributes that contain string that should not be matc
1367
1389
1368
1390
#### disableExactOnAttributes
1369
1391
1370
-
- scope: `settings`
1392
+
- scope: `settings`, `search`
1371
1393
- type: `array of strings`
1372
1394
- default: `[]`
1373
1395
@@ -1487,6 +1509,8 @@ When enabled, the integer array is reordered to reach a better compression ratio
1487
1509
-default: `[]`
1488
1510
1489
1511
1512
+
*This parameter is deprecated. Please use [Filters](#filters) instead.*
1513
+
1490
1514
A string that contains the comma separated list of numeric filters you want to apply.
1491
1515
The filter syntax is `attributeName` followed by `operand` followed by `value`.
1492
1516
Supported operands are `<`, `<=`, `=`, `>` and `>=`.
@@ -1511,6 +1535,8 @@ You can also use a string array encoding (for example `numericFilters: ["price>1
1511
1535
-default: `""`
1512
1536
1513
1537
1538
+
*This parameter is deprecated. Please use [Filters](#filters) instead.*
1539
+
1514
1540
Filter the query by a set of tags.
1515
1541
1516
1542
You can AND tags by separating them with commas.
@@ -1537,6 +1563,8 @@ For example `{"_tags":["tag1","tag2"]}`.
1537
1563
-default: `""`
1538
1564
1539
1565
1566
+
*This parameter is deprecated. Please use [Filters](#filters) instead.*
1567
+
1540
1568
Filter the query with a list of facets. Facets are separated by commas and is encoded as `attributeName:value`.
1541
1569
ToOR facets, you must add parentheses.
1542
1570
@@ -1548,9 +1576,9 @@ For example, `[["category:Book","category:Movie"],"author:John%20Doe"]`.
0 commit comments