You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TokenFilters like word_delimiter_filter might produce broken term_vectors and mess up highlighting. We still fail with StringIndexOutOfBoundsException which is no good. Even if those filters are broken we should try at least best effort to not fail with a SIOOBException
The text was updated successfully, but these errors were encountered:
Today an analysis chain with broken tokenfilters or tokenizers like
WordDelimiterFilter might produce somewhat broken term vectors that cause
`StringIndexOutOfBoundsExceptions` if FastVectorHighlighter is used
since the positions / offsets contract is violated and offsets of highlight
tokens are not increasing but decreasing even if their positions are increasing.
Yet, if we detect such a situation we can resort the tokens which might cause
somewhat odd highlights but doesn't fail hard with a StringIndexOOBException.
Closes#3006
mute
pushed a commit
to mute/elasticsearch
that referenced
this issue
Jul 29, 2015
Today an analysis chain with broken tokenfilters or tokenizers like
WordDelimiterFilter might produce somewhat broken term vectors that cause
`StringIndexOutOfBoundsExceptions` if FastVectorHighlighter is used
since the positions / offsets contract is violated and offsets of highlight
tokens are not increasing but decreasing even if their positions are increasing.
Yet, if we detect such a situation we can resort the tokens which might cause
somewhat odd highlights but doesn't fail hard with a StringIndexOOBException.
Closeselastic#3006
TokenFilters like
word_delimiter_filter
might produce broken term_vectors and mess up highlighting. We still fail withStringIndexOutOfBoundsException
which is no good. Even if those filters are broken we should try at least best effort to not fail with a SIOOBExceptionThe text was updated successfully, but these errors were encountered: