Browse Source

[DOCS] Clarify index_prefix in prefix query docs (#87450)

The current docs mention that Elasticsearch indexes prefixes between 2 and 5 characters in a separate field. 2 and 5 are default values, and the size of the prefixes indexed depend on the configuration settings.
Luca Cavanna 3 years ago
parent
commit
fe327c6e1a
1 changed files with 3 additions and 3 deletions
  1. 3 3
      docs/reference/query-dsl/prefix-query.asciidoc

+ 3 - 3
docs/reference/query-dsl/prefix-query.asciidoc

@@ -67,9 +67,9 @@ GET /_search
 [[prefix-query-index-prefixes]]
 [[prefix-query-index-prefixes]]
 ===== Speed up prefix queries
 ===== Speed up prefix queries
 You can speed up prefix queries using the <<index-prefixes,`index_prefixes`>>
 You can speed up prefix queries using the <<index-prefixes,`index_prefixes`>>
-mapping parameter. If enabled, {es} indexes prefixes between 2 and 5
-characters in a separate field. This lets {es} run prefix queries more
-efficiently at the cost of a larger index.
+mapping parameter. If enabled, {es} indexes prefixes in a separate field,
+according to the configuration settings. This lets {es} run prefix queries
+more efficiently at the cost of a larger index.
 
 
 [[prefix-query-allow-expensive-queries]]
 [[prefix-query-allow-expensive-queries]]
 ===== Allow expensive queries
 ===== Allow expensive queries