-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove
delimited_payload_filter
(#27705)
From 7.0 on, using `delimited_payload_filter` should throw an error. It was deprecated in 6.2 in favour of `delimited_payload` (#26625). Relates to #27704
- Loading branch information
Christoph Büscher
authored
Apr 5, 2018
1 parent
fb1aba9
commit 231fd4e
Showing
3 changed files
with
17 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,24 @@ | ||
[[breaking_70_analysis_changes]] | ||
=== Analysis changes | ||
|
||
==== The `delimited_payload_filter` is renamed | ||
|
||
The `delimited_payload_filter` is renamed to `delimited_payload`, the old name is | ||
deprecated and will be removed at some point, so it should be replaced by | ||
`delimited_payload`. | ||
|
||
|
||
==== Limiting the number of tokens produced by _analyze | ||
|
||
To safeguard against out of memory errors, the number of tokens that can be produced | ||
using the `_analyze` endpoint has been limited to 10000. This default limit can be changed | ||
for a particular index with the index setting `index.analyze.max_token_count`. | ||
|
||
|
||
==== Limiting the length of an analyzed text during highlighting | ||
|
||
Highlighting a text that was indexed without offsets or term vectors, | ||
requires analysis of this text in memory real time during the search request. | ||
For large texts this analysis may take substantial amount of time and memory. | ||
To protect against this, the maximum number of characters that will be analyzed has been | ||
limited to 1000000. This default limit can be changed | ||
for a particular index with the index setting `index.highlight.max_analyzed_offset`. | ||
for a particular index with the index setting `index.highlight.max_analyzed_offset`. | ||
|
||
==== `delimited_payload_filter` renaming | ||
|
||
The `delimited_payload_filter` was deprecated and renamed to `delimited_payload` in 6.2. | ||
Using it in indices created before 7.0 will issue deprecation warnings. Using the old | ||
name in new indices created in 7.0 will throw an error. Use the new name `delimited_payload` | ||
instead. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters