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
Copy file name to clipboardExpand all lines: docs/reference/aggregations/search-aggregations-bucket-adjacency-matrix-aggregation.md
+5-7
Original file line number
Diff line number
Diff line change
@@ -94,14 +94,12 @@ The response contains buckets with document counts for each filter and combinati
94
94
`filters`
95
95
: (Required, object) Filters used to create buckets.
96
96
97
-
::::{dropdown} Properties of `filters`
98
-
`<filter>`
99
-
: (Required, [Query DSL object](/reference/query-languages/querydsl.md)) Query used to filter documents. The key is the filter name.
97
+
::::{dropdown} Properties of filters
98
+
`<filter>`
99
+
: (Required, [Query DSL object](/reference/query-languages/querydsl.md)) Query used to filter documents. The key is the filter name.
100
100
101
-
At least one filter is required. The total number of filters cannot exceed the [`indices.query.bool.max_clause_count`](/reference/elasticsearch/configuration-reference/search-settings.md#indices-query-bool-max-clause-count) setting. See [Filter limits](#adjacency-matrix-agg-filter-limits).
102
-
103
-
104
-
::::
101
+
At least one filter is required. The total number of filters cannot exceed the [`indices.query.bool.max_clause_count`](/reference/elasticsearch/configuration-reference/search-settings.md#indices-query-bool-max-clause-count) setting. See [Filter limits](#adjacency-matrix-agg-filter-limits).
Copy file name to clipboardExpand all lines: docs/reference/aggregations/search-aggregations-bucket-categorize-text-aggregation.md
+2-3
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,8 @@ The algorithm used for categorization was completely changed in version 8.3.0. A
26
26
27
27
The `categorization_analyzer` field can be specified either as a string or as an object. If it is a string it must refer to a [built-in analyzer](/reference/text-analysis/analyzer-reference.md) or one added by another plugin. If it is an object it has the following properties:
28
28
29
-
:::::{dropdown} Properties of `categorization_analyzer`
29
+
**Properties of `categorization_analyzer`**:
30
+
30
31
`char_filter`
31
32
: (array of strings or objects) One or more [character filters](/reference/text-analysis/character-filter-reference.md). In addition to the built-in character filters, other plugins can provide more character filters. This property is optional. If it is not specified, no character filters are applied prior to categorization. If you are customizing some other aspect of the analyzer and you need to achieve the equivalent of `categorization_filters` (which are not permitted when some other aspect of the analyzer is customized), add them here as [pattern replace character filters](/reference/text-analysis/analysis-pattern-replace-charfilter.md).
32
33
@@ -41,8 +42,6 @@ The algorithm used for categorization was completely changed in version 8.3.0. A
41
42
`filter`
42
43
: (array of strings or objects) One or more [token filters](/reference/text-analysis/token-filter-reference.md). In addition to the built-in token filters, other plugins can provide more token filters. This property is optional. If it is not specified, no token filters are applied prior to categorization.
43
44
44
-
:::::
45
-
46
45
47
46
`categorization_filters`
48
47
: (Optional, array of strings) This property expects an array of regular expressions. The expressions are used to filter out matching sequences from the categorization field values. You can use this functionality to fine tune the categorization by excluding sequences from consideration when categories are defined. For example, you can exclude SQL statements that appear in your log files. This property cannot be used at the same time as `categorization_analyzer`. If you only want to define simple regular expression filters that are applied prior to tokenization, setting this property is the easiest method. If you also want to customize the tokenizer or post-tokenization filtering, use the `categorization_analyzer` property instead and include the filters as `pattern_replace` character filters.
Copy file name to clipboardExpand all lines: docs/reference/aggregations/search-aggregations-bucket-correlation-aggregation.md
+17-27
Original file line number
Diff line number
Diff line change
@@ -11,43 +11,33 @@ A sibling pipeline aggregation which executes a correlation function on the conf
11
11
12
12
## Parameters [bucket-correlation-agg-syntax]
13
13
14
-
`buckets_path`
15
-
: (Required, string) Path to the buckets that contain one set of values to correlate. For syntax, see [`buckets_path` Syntax](/reference/aggregations/pipeline.md#buckets-path-syntax).
14
+
### `buckets_path`
16
15
17
-
`function`
18
-
: (Required, object) The correlation function to execute.
16
+
(Required, string) Path to the buckets that contain one set of values to correlate. For syntax, see [`buckets_path` Syntax](/reference/aggregations/pipeline.md#buckets-path-syntax).
19
17
20
-
::::{dropdown} Properties of `function`
21
-
`count_correlation`
22
-
: (Required*, object) The configuration to calculate a count correlation. This function is designed for determining the correlation of a term value and a given metric. Consequently, it needs to meet the following requirements.
18
+
### `function`
23
19
24
-
* The `buckets_path` must point to a `_count` metric.
25
-
* The total count of all the `bucket_path` count values must be less than or equal to `indicator.doc_count`.
26
-
* When utilizing this function, an initial calculation to gather the required `indicator` values is required.
20
+
(Required, object) The correlation function to execute.
27
21
28
-
::::{dropdown} Properties of `count_correlation`
29
-
`indicator`
30
-
: (Required, object) The indicator with which to correlate the configured `bucket_path` values.
22
+
#### `count_correlation`
31
23
32
-
::::{dropdown} Properties of `indicator`
33
-
`doc_count`
34
-
: (Required, integer) The total number of documents that initially created the `expectations`. It’s required to be greater than or equal to the sum of all values in the `buckets_path` as this is the originating superset of data to which the term values are correlated.
24
+
(Required*, object) The configuration to calculate a count correlation. This function is designed for determining the correlation of a term value and a given metric. Consequently, it needs to meet the following requirements.
35
25
36
-
`expectations`
37
-
: (Required, array) An array of numbers with which to correlate the configured `bucket_path` values. The length of this value must always equal the number of buckets returned by the `bucket_path`.
26
+
* The `buckets_path` must point to a `_count` metric.
27
+
* The total count of all the `bucket_path` count values must be less than or equal to `indicator.doc_count`.
28
+
* When utilizing this function, an initial calculation to gather the required `indicator` values is required.
38
29
39
-
`fractions`
40
-
: (Optional, array) An array of fractions to use when averaging and calculating variance. This should be used if the pre-calculated data and the `buckets_path` have known gaps. The length of `fractions`, if provided, must equal `expectations`.
30
+
`indicator`
31
+
: (Required, object) The indicator with which to correlate the configured `bucket_path` values.
41
32
42
-
::::
43
-
44
-
45
-
::::
46
-
47
-
48
-
::::
33
+
`doc_count`
34
+
: (Required, integer) The total number of documents that initially created the `expectations`. It’s required to be greater than or equal to the sum of all values in the `buckets_path` as this is the originating superset of data to which the term values are correlated.
49
35
36
+
`expectations`
37
+
: (Required, array) An array of numbers with which to correlate the configured `bucket_path` values. The length of this value must always equal the number of buckets returned by the `bucket_path`.
50
38
39
+
`fractions`
40
+
: (Optional, array) An array of fractions to use when averaging and calculating variance. This should be used if the pre-calculated data and the `buckets_path` have known gaps. The length of `fractions`, if provided, must equal `expectations`.
Copy file name to clipboardExpand all lines: docs/reference/aggregations/search-aggregations-bucket-significantterms-aggregation.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -196,7 +196,7 @@ Picking a free-text field as the subject of a significant terms analysis can be
196
196
::::
197
197
198
198
199
-
::::{admonition} Use the *"like this but not this"* pattern
199
+
::::{admonition} Use the "like this but not this" pattern
200
200
You can spot mis-categorized content by first searching a structured field e.g. `category:adultMovie` and use significant_terms on the free-text "movie_description" field. Take the suggested words (I’ll leave them to your imagination) and then search for all movies NOT marked as category:adultMovie but containing these keywords. You now have a ranked list of badly-categorized movies that you should reclassify or at least remove from the "familyFriendly" category.
201
201
202
202
The significance score from each term can also provide a useful `boost` setting to sort matches. Using the `minimum_should_match` setting of the `terms` query with the keywords will help control the balance of precision/recall in the result set i.e a high setting would have a small number of relevant results packed full of keywords and a setting of "1" would produce a more exhaustive results set with all documents containing *any* keyword.
Copy file name to clipboardExpand all lines: docs/reference/aggregations/search-aggregations-bucket-significanttext-aggregation.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -265,7 +265,7 @@ The numbers returned for scores are primarily intended for ranking different sug
265
265
::::
266
266
267
267
268
-
::::{admonition} Use the *"like this but not this"* pattern
268
+
::::{admonition} Use the "like this but not this" pattern
269
269
You can spot mis-categorized content by first searching a structured field e.g. `category:adultMovie` and use significant_text on the text "movie_description" field. Take the suggested words (I’ll leave them to your imagination) and then search for all movies NOT marked as category:adultMovie but containing these keywords. You now have a ranked list of badly-categorized movies that you should reclassify or at least remove from the "familyFriendly" category.
270
270
271
271
The significance score from each term can also provide a useful `boost` setting to sort matches. Using the `minimum_should_match` setting of the `terms` query with the keywords will help control the balance of precision/recall in the result set i.e a high setting would have a small number of relevant results packed full of keywords and a setting of "1" would produce a more exhaustive results set with all documents containing *any* keyword.
Copy file name to clipboardExpand all lines: docs/reference/aggregations/search-aggregations-change-point-aggregation.md
+2-3
Original file line number
Diff line number
Diff line change
@@ -46,15 +46,14 @@ A `change_point` aggregation looks like this in isolation:
46
46
`bucket`
47
47
: (Optional, object) Values of the bucket that indicates the discovered change point. Not returned if no change point was found. All the aggregations in the bucket are returned as well.
48
48
49
-
::::{dropdown} Properties of bucket
49
+
**Properties of `bucket**:
50
+
50
51
`key`
51
52
: (value) The key of the bucket matched. Could be string or numeric.
52
53
53
54
`doc_count`
54
55
: (number) The document count of the bucket.
55
56
56
-
::::
57
-
58
57
59
58
`type`
60
59
: (object) The found change point type and its related values. Possible types:
Copy file name to clipboardExpand all lines: docs/reference/aggregations/search-aggregations-metrics-geocentroid-aggregation.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -201,7 +201,7 @@ POST /places/_search?size=0
201
201
}
202
202
```
203
203
204
-
::::{admonition} Using `geo_centroid` as a sub-aggregation of `geohash_grid`
204
+
::::{admonition} Using geo_centroid as a sub-aggregation of geohash_grid
205
205
:class: warning
206
206
207
207
The [`geohash_grid`](/reference/aggregations/search-aggregations-bucket-geohashgrid-aggregation.md) aggregation places documents, not individual geopoints, into buckets. If a document’s `geo_point` field contains [multiple values](/reference/elasticsearch/mapping-reference/array.md), the document could be assigned to multiple buckets, even if one or more of its geopoints are outside the bucket boundaries.
Copy file name to clipboardExpand all lines: docs/reference/aggregations/search-aggregations-metrics-max-aggregation.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ mapped_pages:
10
10
A `single-value` metrics aggregation that keeps track and returns the maximum value among the numeric values extracted from the aggregated documents.
11
11
12
12
::::{note}
13
-
The `min` and `max` aggregation operate on the `double` representation of the data. As a consequence, the result may be approximate when running on longs whose absolute value is greater than `2`^`53`^.
13
+
The `min` and `max` aggregation operate on the `double` representation of the data. As a consequence, the result may be approximate when running on longs whose absolute value is greater than `2^53`.
Copy file name to clipboardExpand all lines: docs/reference/aggregations/search-aggregations-metrics-min-aggregation.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ mapped_pages:
10
10
A `single-value` metrics aggregation that keeps track and returns the minimum value among numeric values extracted from the aggregated documents.
11
11
12
12
::::{note}
13
-
The `min` and `max` aggregation operate on the `double` representation of the data. As a consequence, the result may be approximate when running on longs whose absolute value is greater than `2`^`53`^.
13
+
The `min` and `max` aggregation operate on the `double` representation of the data. As a consequence, the result may be approximate when running on longs whose absolute value is greater than `2^53`.
The plugin must be installed on every node in the cluster, and each node must be restarted after installation.
35
30
36
-
You can download this plugin for [offline install](/reference/elasticsearch-plugins/plugin-management-custom-url.md) from [https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-icu/analysis-icu-9.0.0-beta1.zip](https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-icu/analysis-icu-9.0.0-beta1.zip). To verify the `.zip` file, use the [SHA hash](https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-icu/analysis-icu-9.0.0-beta1.zip.sha512) or [ASC key](https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-icu/analysis-icu-9.0.0-beta1.zip.asc).
31
+
You can download this plugin for [offline install](/reference/elasticsearch-plugins/plugin-management-custom-url.md) from [https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-icu/analysis-icu-{{version}}.zip](https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-icu/analysis-icu-{{version}}.zip). To verify the `.zip` file, use the [SHA hash](https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-icu/analysis-icu-{{version}}.zip.sha512) or [ASC key](https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-icu/analysis-icu-{{version}}.zip.asc).
The plugin must be installed on every node in the cluster, and each node must be restarted after installation.
25
20
26
-
You can download this plugin for [offline install](/reference/elasticsearch-plugins/plugin-management-custom-url.md) from [https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-kuromoji/analysis-kuromoji-9.0.0-beta1.zip](https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-kuromoji/analysis-kuromoji-9.0.0-beta1.zip). To verify the `.zip` file, use the [SHA hash](https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-kuromoji/analysis-kuromoji-9.0.0-beta1.zip.sha512) or [ASC key](https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-kuromoji/analysis-kuromoji-9.0.0-beta1.zip.asc).
21
+
You can download this plugin for [offline install](/reference/elasticsearch-plugins/plugin-management-custom-url.md) from [https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-kuromoji/analysis-kuromoji-{{version}}.zip](https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-kuromoji/analysis-kuromoji-{{version}}.zip). To verify the `.zip` file, use the [SHA hash](https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-kuromoji/analysis-kuromoji-{{version}}.zip.sha512) or [ASC key](https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-kuromoji/analysis-kuromoji-{{version}}.zip.asc).
The plugin must be installed on every node in the cluster, and each node must be restarted after installation.
25
20
26
-
You can download this plugin for [offline install](/reference/elasticsearch-plugins/plugin-management-custom-url.md) from [https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-nori/analysis-nori-9.0.0-beta1.zip](https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-nori/analysis-nori-9.0.0-beta1.zip). To verify the `.zip` file, use the [SHA hash](https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-nori/analysis-nori-9.0.0-beta1.zip.sha512) or [ASC key](https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-nori/analysis-nori-9.0.0-beta1.zip.asc).
21
+
You can download this plugin for [offline install](/reference/elasticsearch-plugins/plugin-management-custom-url.md) from [https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-nori/analysis-nori-{{version}}.zip](https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-nori/analysis-nori-{{version}}.zip). To verify the `.zip` file, use the [SHA hash](https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-nori/analysis-nori-{{version}}.zip.sha512) or [ASC key](https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-nori/analysis-nori-{{version}}.zip.asc).
The plugin must be installed on every node in the cluster, and each node must be restarted after installation.
25
20
26
-
You can download this plugin for [offline install](/reference/elasticsearch-plugins/plugin-management-custom-url.md) from [https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-phonetic/analysis-phonetic-9.0.0-beta1.zip](https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-phonetic/analysis-phonetic-9.0.0-beta1.zip). To verify the `.zip` file, use the [SHA hash](https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-phonetic/analysis-phonetic-9.0.0-beta1.zip.sha512) or [ASC key](https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-phonetic/analysis-phonetic-9.0.0-beta1.zip.asc).
21
+
You can download this plugin for [offline install](/reference/elasticsearch-plugins/plugin-management-custom-url.md) from [https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-phonetic/analysis-phonetic-{{version}}.zip](https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-phonetic/analysis-phonetic-{{version}}.zip). To verify the `.zip` file, use the [SHA hash](https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-phonetic/analysis-phonetic-{{version}}.zip.sha512) or [ASC key](https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-phonetic/analysis-phonetic-{{version}}.zip.asc).
0 commit comments