Skip to content

Commit e32c3f4

Browse files
mimitsujrodewig
andauthored
[DOC] Fix typos (#71869)
Co-authored-by: James Rodewig <[email protected]>
1 parent 3ee45a3 commit e32c3f4

File tree

1 file changed

+22
-11
lines changed

1 file changed

+22
-11
lines changed

docs/reference/query-dsl.asciidoc

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,30 @@ Query clauses behave differently depending on whether they are used in
3030
Allow expensive queries::
3131
Certain types of queries will generally execute slowly due to the way they are implemented, which can affect
3232
the stability of the cluster. Those queries can be categorised as follows:
33+
3334
* Queries that need to do linear scans to identify matches:
34-
** <<query-dsl-script-query, `script queries`>>
35-
* Queries that have a high up-front cost :
36-
** <<query-dsl-fuzzy-query,`fuzzy queries`>> (except on <<wildcard-field-type, `wildcard`>> fields)
37-
** <<query-dsl-regexp-query,`regexp queries`>> (except on <<wildcard-field-type, `wildcard`>> fields)
38-
** <<query-dsl-prefix-query,`prefix queries`>> (except on <<wildcard-field-type, `wildcard`>> fields or those without <<index-prefixes, `index_prefixes`>>)
39-
** <<query-dsl-wildcard-query, `wildcard queries`>> (except on <<wildcard-field-type, `wildcard`>> fields)
40-
** <<query-dsl-range-query, `range queries>> on <<text, `text`>> and <<keyword, `keyword`>> fields
41-
* <<joining-queries, `Joining queries`>>
42-
* Queries on <<prefix-trees, deprecated geo shapes>>
35+
** <<query-dsl-script-query,`script` queries>>
36+
37+
* Queries that have a high up-front cost:
38+
** <<query-dsl-fuzzy-query,`fuzzy` queries>> (except on
39+
<<wildcard-field-type,`wildcard`>> fields)
40+
** <<query-dsl-regexp-query,`regexp` queries>> (except on
41+
<<wildcard-field-type,`wildcard`>> fields)
42+
** <<query-dsl-prefix-query,`prefix` queries>> (except on
43+
<<wildcard-field-type,`wildcard`>> fields or those without
44+
<<index-prefixes,`index_prefixes`>>)
45+
** <<query-dsl-wildcard-query,`wildcard` queries>> (except on
46+
<<wildcard-field-type,`wildcard`>> fields)
47+
** <<query-dsl-range-query,`range` queries>> on <<text,`text`>> and
48+
<<keyword,`keyword`>> fields
49+
50+
* <<joining-queries,Joining queries>>
51+
52+
* Queries on <<prefix-trees,deprecated geo-shapes>>
53+
4354
* Queries that may have a high per-document cost:
44-
** <<query-dsl-script-score-query, `script score queries`>>
45-
** <<query-dsl-percolate-query, `percolate queries`>>
55+
** <<query-dsl-script-score-query,`script_score` queries>>
56+
** <<query-dsl-percolate-query,`percolate` queries>>
4657

4758
The execution of such queries can be prevented by setting the value of the `search.allow_expensive_queries`
4859
setting to `false` (defaults to `true`).

0 commit comments

Comments
 (0)