Skip to content

Commit 6b4c363

Browse files
authored
[DOCS] Move breaking change info re rejecting regex search if regex string is too long (#32878)
1 parent bdf1bf4 commit 6b4c363

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

docs/reference/migration/migrate_6_0/search.asciidoc

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -215,13 +215,6 @@ The ability to query and index context enabled suggestions without contexts
215215
has been deprecated. Context enabled suggestion queries without contexts have
216216
to visit every suggestion, which degrades the search performance considerably.
217217

218-
==== Limiting the length of regex that can be used in a Regexp Query request
219-
220-
Regexp Query with long string made of many operators may run into a stack overflow.
221-
To safeguard against this, the maximum length of regex that can be used in a
222-
Regexp Query request has been limited to 1000. This default maximum can be changed
223-
for a particular index with the index setting `index.max_regex_length`.
224-
225218
==== Limiting the max number of expansion of span_multi queries
226219

227220
`span_multi` queries will hit too many clauses failure if the number of terms that match the

docs/reference/migration/migrate_6_4.asciidoc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,16 @@ to follow up the operation with a request to adjust to the desired settings on
3636
the target index, or send the desired value of these settings with the resize
3737
operation.
3838

39+
[[breaking_64_search_changes]]
40+
=== Search and query DSL changes
41+
42+
==== Limiting the length of regex that can be used in a Regexp Query request
43+
44+
<<query-dsl-regexp-query,Regexp Query>> with long string made of many operators may run into a stack overflow.
45+
To safeguard against this, the maximum length of regex that can be used in a
46+
Regexp Query request has been limited to 1000. This default maximum can be changed
47+
for a particular index with the index setting `index.max_regex_length`.
48+
3949
[[breaking_64_scripting_changes]]
4050
=== Scripting
4151

0 commit comments

Comments
 (0)