Skip to content

Commit 5426984

Browse files
committed
Reorder so limitations are in separate section
1 parent 75aa09d commit 5426984

File tree

1 file changed

+3
-3
lines changed
  • docs/reference/elasticsearch/mapping-reference

1 file changed

+3
-3
lines changed

docs/reference/elasticsearch/mapping-reference/text.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -358,14 +358,14 @@ We call the static portion of the value the `template`.
358358
Although the template cannot be accessed directly, a separate field called `<field_name>.template_id` is accessible.
359359
This field is a hash of the template and can be used to group similar values.
360360

361+
Analysis is configurable but defaults to a delimiter-based analyzer.
362+
This analyzer applies a lowercase filter and then splits on whitespace and the following delimiters: `=`, `?`, `:`, `[`, `]`, `{`, `}`, `"`, `\`, `'`.
363+
361364
### Limitations
362365

363366
Unlike most mapping types, `pattern_text` does not support multiple values for a given field per document.
364367
If a document is created with multiple values for a pattern_text field, an error will be returned.
365368

366-
Analysis is configurable but defaults to a delimiter-based analyzer.
367-
This analyzer applies a lowercase filter and then splits on whitespace and the following delimiters: `=`, `?`, `:`, `[`, `]`, `{`, `}`, `"`, `\`, `'`.
368-
369369
[span queries](/reference/query-languages/query-dsl/span-queries.md) are not supported with this field, use [interval queries](/reference/query-languages/query-dsl/query-dsl-intervals-query.md) instead, or the [`text`](#text-field-type) field type if you absolutely need span queries.
370370

371371
Like `text`, `pattern_text` does not support sorting and has only limited support for aggregations.

0 commit comments

Comments
 (0)