Browse Source

[DOC] Fix typos (#71869) (#71948)

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>

Co-authored-by: Mimi Tsuruga <mimi.tsuruga@elastic.co>
James Rodewig 4 years ago
parent
commit
7a8db42e23
1 changed files with 22 additions and 11 deletions
  1. 22 11
      docs/reference/query-dsl.asciidoc

+ 22 - 11
docs/reference/query-dsl.asciidoc

@@ -30,19 +30,30 @@ Query clauses behave differently depending on whether they are used in
 Allow expensive queries::
 Allow expensive queries::
 Certain types of queries will generally execute slowly due to the way they are implemented, which can affect
 Certain types of queries will generally execute slowly due to the way they are implemented, which can affect
 the stability of the cluster. Those queries can be categorised as follows:
 the stability of the cluster. Those queries can be categorised as follows:
+
 * Queries that need to do linear scans to identify matches:
 * Queries that need to do linear scans to identify matches:
-** <<query-dsl-script-query, `script queries`>>
-* Queries that have a high up-front cost :
-** <<query-dsl-fuzzy-query,`fuzzy queries`>> (except on <<wildcard-field-type, `wildcard`>> fields)
-** <<query-dsl-regexp-query,`regexp queries`>> (except on <<wildcard-field-type, `wildcard`>> fields)
-** <<query-dsl-prefix-query,`prefix queries`>>  (except on <<wildcard-field-type, `wildcard`>> fields or those without <<index-prefixes, `index_prefixes`>>)
-** <<query-dsl-wildcard-query, `wildcard queries`>> (except on <<wildcard-field-type, `wildcard`>> fields)
-** <<query-dsl-range-query, `range queries>> on <<text, `text`>> and <<keyword, `keyword`>> fields
-* <<joining-queries, `Joining queries`>>
-* Queries on <<prefix-trees, deprecated geo shapes>>
+** <<query-dsl-script-query,`script` queries>>
+
+* Queries that have a high up-front cost:
+** <<query-dsl-fuzzy-query,`fuzzy` queries>> (except on
+   <<wildcard-field-type,`wildcard`>> fields)
+** <<query-dsl-regexp-query,`regexp` queries>> (except on
+   <<wildcard-field-type,`wildcard`>> fields)
+** <<query-dsl-prefix-query,`prefix` queries>>  (except on
+   <<wildcard-field-type,`wildcard`>> fields or those without
+   <<index-prefixes,`index_prefixes`>>)
+** <<query-dsl-wildcard-query,`wildcard` queries>> (except on
+   <<wildcard-field-type,`wildcard`>> fields)
+** <<query-dsl-range-query,`range` queries>> on <<text,`text`>> and
+   <<keyword,`keyword`>> fields
+
+* <<joining-queries,Joining queries>>
+
+* Queries on <<prefix-trees,deprecated geo-shapes>>
+
 * Queries that may have a high per-document cost:
 * Queries that may have a high per-document cost:
-** <<query-dsl-script-score-query, `script score queries`>>
-** <<query-dsl-percolate-query, `percolate queries`>>
+** <<query-dsl-script-score-query,`script_score` queries>>
+** <<query-dsl-percolate-query,`percolate` queries>>
 
 
 The execution of such queries can be prevented by setting the value of the `search.allow_expensive_queries`
 The execution of such queries can be prevented by setting the value of the `search.allow_expensive_queries`
 setting to `false` (defaults to `true`).
 setting to `false` (defaults to `true`).