Skip to content

Commit 8e14de6

Browse files
[DOCS] Fix formatting issue in cardinality-aggregation.asciidoc (#98175) (#98252)
* [DOCS] Fix formatting issue in cardinality-aggregation.asciidoc Fixes a header not rendering properly because of a missing newline. * Update docs/reference/aggregations/metrics/cardinality-aggregation.asciidoc * More issues * More issues * Update docs/reference/aggregations/metrics/cardinality-aggregation.asciidoc Co-authored-by: James Rodewig <[email protected]> --------- Co-authored-by: James Rodewig <[email protected]> (cherry picked from commit 962c607)
1 parent ea8b38a commit 8e14de6

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

docs/reference/aggregations/metrics/cardinality-aggregation.asciidoc

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,10 @@ POST /sales/_search?size=0
237237
--------------------------------------------------
238238
// TEST[setup:sales]
239239
<1> Documents without a value in the `tag` field will fall into the same bucket as documents that have the value `N/A`.
240-
==== Execution Hint
241240

242-
There are different mechanisms by which cardinality aggregations can be executed:
241+
==== Execution hint
242+
243+
You can run cardinality aggregations using different mechanisms:
243244

244245
- by using field values directly (`direct`)
245246
- by using global ordinals of the field and resolving those values after
@@ -248,13 +249,14 @@ There are different mechanisms by which cardinality aggregations can be executed
248249
segment (`segment_ordinals`)
249250

250251
Additionally, there are two "heuristic based" modes. These modes will cause
251-
Elasticsearch to use some data about the state of the index to choose an
252-
appropriate execution method. The two heuristics are:
253-
- `save_time_heuristic` - this is the default in Elasticsearch 8.4 and later.
254-
- `save_memory_heuristic` - this was the default in Elasticsearch 8.3 and
252+
{es} to use some data about the state of the index to choose an
253+
appropriate execution method. The two heuristics are:
254+
255+
- `save_time_heuristic` - this is the default in {es} 8.4 and later.
256+
- `save_memory_heuristic` - this was the default in {es} 8.3 and
255257
earlier
256258

257-
When not specified, Elasticsearch will apply a heuristic to chose the
258-
appropriate mode. Also note that some data (i.e. non-ordinal fields), `direct`
259+
When not specified, {es} will apply a heuristic to choose the
260+
appropriate mode. Also note that for some data (non-ordinal fields), `direct`
259261
is the only option, and the hint will be ignored in these cases. Generally
260262
speaking, it should not be necessary to set this value.

0 commit comments

Comments
 (0)