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.
@@ -1066,7 +1064,7 @@ If no query parameter is set, the textual search will match with all the objects
1066
1064
1067
1065
- scope: `settings`
1068
1066
- type: `array of strings`
1069
-
-default:*
1067
+
-default:* (all string attributes)
1070
1068
- formerly known as: `attributesToIndex`
1071
1069
1072
1070
The list of attributes you want index (i.e. to make searchable).
@@ -1090,7 +1088,7 @@ This parameter has two important uses:
1090
1088
will consider all positions inside the `text` attribute as equal, but positions inside the `title` attribute will still matter.
1091
1089
1092
1090
You can decide to have the same priority for several attributes by passing them in the same string using comma as separator.
1093
-
For example: \n`title` and `alternative_title` have the same priority in this example: `attributesToIndex:["title,alternative_title", "text"]`
1091
+
For example: \n`title` and `alternative_title` have the same priority in this example: `searchableAttributes:["title,alternative_title", "text"]`
1094
1092
1095
1093
To get a full description of how the ranking works, you can have a look at our [Ranking guide](https://www.algolia.com/doc/guides/relevance/ranking).
1096
1094
@@ -1236,7 +1234,7 @@ Like for the other filter for performance reason, it's not possible to have FILT
1236
1234
1237
1235
It's not possible to mix different category of filter inside a OR like num=3 OR tag1 OR facet:value
1238
1236
1239
-
It's not possible to negate an group, it's only possible to negate a filters: NOT(FILTER1 OR (FILTER2) is not allowed.
1237
+
It's not possible to negate an group, it's only possible to negate a filter: NOT(FILTER1 OR FILTER2) is not allowed.
1240
1238
1241
1239
#### facets
1242
1240
@@ -1799,16 +1797,20 @@ Specify the list of approximation that should be considered as an exact match in
1799
1797
1800
1798
## performance
1801
1799
1802
-
#### numericAttributesToIndex
1800
+
#### numericAttributesForFiltering
1803
1801
1804
1802
- scope: `settings`
1805
1803
- type: `array of strings`
1806
1804
- default: []
1805
+
- formerly known as: `numericAttributesToIndex`
1807
1806
1808
-
All numerical attributes are automatically indexed as numerical filters.
1809
-
If you don't need filtering on some of your numerical attributes, please consider sending them as strings to speed up the indexing.
1807
+
All numerical attributes are automatically indexed as numerical filters
1808
+
(allowing filtering operations like `<` and `<=`).
1809
+
If you don't need filtering on some of your numerical attributes,
1810
+
you can specify this list to speed up the indexing.
1810
1811
1811
-
If you only need to filter on a numeric value with the operator `=` or `!=`, you can speed up the indexing by specifying the attribute with `equalOnly(AttributeName)`.
1812
+
If you only need to filter on a numeric value with the operator `=` or `!=`,
1813
+
you can speed up the indexing by specifying the attribute with `equalOnly(AttributeName)`.
1812
1814
The other operators will be disabled.
1813
1815
1814
1816
#### allowCompressionOfIntegerArray
@@ -1842,29 +1844,6 @@ then only the first one is kept and the others are removed from the results.
1842
1844
To get a full understanding of how `Distinct` works,
1843
1845
you can have a look at our [guide on distinct](https://www.algolia.com/doc/search/distinct).
1844
1846
1845
-
#### analyticsTags
1846
-
1847
-
- scope: `search`
1848
-
- type: `array of strings`
1849
-
1850
-
If set, tag your query with the specified identifiers. Tags can then be used in the Analytics to analyze a subset of searches only.
1851
-
1852
-
#### synonyms
1853
-
1854
-
- scope: `search`
1855
-
- type: `boolean`
1856
-
- default: true
1857
-
1858
-
If set to `false`, the search will not use the synonyms defined for the targeted index.
1859
-
1860
-
#### replaceSynonymsInHighlight
1861
-
1862
-
- scope: `settings` `search`
1863
-
- type: `boolean`
1864
-
- default: true
1865
-
1866
-
If set to `false`, words matched via synonyms expansion will not be replaced by the matched synonym in the highlighted result.
1867
-
1868
1847
#### placeholders
1869
1848
1870
1849
- scope: `settings`
@@ -2000,21 +1979,6 @@ you can have a look at our [guide on distinct](https://www.algolia.com/doc/searc
2000
1979
If set to YES,
2001
1980
the result hits will contain ranking information in the **_rankingInfo** attribute.
2002
1981
2003
-
#### numericAttributesForFiltering
2004
-
2005
-
- scope: `settings`
2006
-
- type: `array of strings`
2007
-
- default: []
2008
-
2009
-
All numerical attributes are automatically indexed as numerical filters
2010
-
(allowing filtering operations like `<` and `<=`).
2011
-
If you don't need filtering on some of your numerical attributes,
2012
-
you can specify this list to speed up the indexing.
2013
-
2014
-
If you only need to filter on a numeric value with the `=` operator,
2015
-
you can speed up the indexing by specifying the attribute with `equalOnly(AttributeName)`.
2016
-
The other operators will be disabled.
2017
-
2018
1982
#### numericFilters
2019
1983
2020
1984
- scope: `search`
@@ -2067,6 +2031,29 @@ For example `{"_tags":["tag1","tag2"]}`.
2067
2031
2068
2032
If set to false, this query will not be taken into account in the analytics.
2069
2033
2034
+
#### analyticsTags
2035
+
2036
+
- scope: `search`
2037
+
- type: `array of strings`
2038
+
2039
+
If set, tag your query with the specified identifiers. Tags can then be used in the Analytics to analyze a subset of searches only.
2040
+
2041
+
#### synonyms
2042
+
2043
+
- scope: `search`
2044
+
- type: `boolean`
2045
+
- default: true
2046
+
2047
+
If set to `false`, the search will not use the synonyms defined for the targeted index.
2048
+
2049
+
#### replaceSynonymsInHighlight
2050
+
2051
+
- scope: `settings` `search`
2052
+
- type: `boolean`
2053
+
- default: true
2054
+
2055
+
If set to `false`, words matched via synonyms expansion will not be replaced by the matched synonym in the highlighted result.
0 commit comments