Skip to content

Commit 56b54c9

Browse files
committed
Add breaking changes for elastic#64597 and elastic#63945
1 parent 2ef0036 commit 56b54c9

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

docs/reference/migration/migrate_7_11.asciidoc

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,31 @@ field configured with a lowercase normalizer will return highlighted
3333
snippets in lower case.
3434
====
3535

36+
[[text-subfields]]
37+
.Internal fields used for text search acceleration are hidden
38+
[%collapsible]
39+
====
40+
*Details* +
41+
Text fields can add internal subfields using extra analysis to speed
42+
up prefix and phrase searches. Previously these were exposed to
43+
the field caps API and were available for searching directly. However,
44+
they did not implement all query types and could return bad results
45+
or throw errors if used via the query DSL. These subfields are now
46+
internal only and cannot be invoked as searchable fields in queries.
47+
====
48+
49+
[[significant-text-non-text-fields]]
50+
.The significant text aggregation now throws an error if applied to a numeric field
51+
[%collapsible]
52+
====
53+
*Details* +
54+
The significant text aggregation could previously be applied to a fields that
55+
were defined as numeric, which made little sense and would always return an
56+
empty result. Given that applying a text-specific aggregation to a non-text
57+
field is almost certainly a mistake, this has now been changed to throw an
58+
error.
59+
====
60+
3661
[discrete]
3762
[[breaking_711_transform_changes]]
3863
=== Transform changes

0 commit comments

Comments
 (0)