New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highlighting doesn't work with term vectors enabled and some complex queries #3357

Closed
jpountz opened this Issue Jul 19, 2013 · 0 comments

Comments

Projects
None yet
1 participant
@jpountz
Contributor

jpountz commented Jul 19, 2013

This is related to https://issues.apache.org/jira/browse/LUCENE-4734. If you have term vectors enabled and try to highlight a proximity query or a phrase which has eg. 2 terms at the same position, no snippet will be returned.

@ghost ghost assigned jpountz Jul 19, 2013

@jpountz jpountz closed this in e943cc8 Jul 22, 2013

jpountz added a commit that referenced this issue Jul 22, 2013

Add FastVectorHighlighter support for more complex queries.
FastVectorHighlighter fails at highlighting some complex queries such as
multi phrase queries which have two terms at the same position. This can be
easily triggered by running a `match_phrase` query with an analyzer which
outputs synonyms such as SynonymFilter or WordDelimiterFilter.

Close #3357

s1monw added a commit that referenced this issue Sep 5, 2013

Revert "Add FastVectorHighlighter support for more complex queries."
This reverts commit e943cc8.

The more complex queries support causes StackOverflowErrors that
can influence the cluster performance and stability dramatically.
This commit backs out this change to reduce the risk for deep
stacks.

Reverts #3357

s1monw added a commit that referenced this issue Sep 5, 2013

Revert "Add FastVectorHighlighter support for more complex queries."
This reverts commit e943cc8.

The more complex queries support causes StackOverflowErrors that
can influence the cluster performance and stability dramatically.
This commit backs out this change to reduce the risk for deep
stacks.

Reverts #3357

mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015

Add FastVectorHighlighter support for more complex queries.
FastVectorHighlighter fails at highlighting some complex queries such as
multi phrase queries which have two terms at the same position. This can be
easily triggered by running a `match_phrase` query with an analyzer which
outputs synonyms such as SynonymFilter or WordDelimiterFilter.

Close elastic#3357

mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015

Revert "Add FastVectorHighlighter support for more complex queries."
This reverts commit e943cc8.

The more complex queries support causes StackOverflowErrors that
can influence the cluster performance and stability dramatically.
This commit backs out this change to reduce the risk for deep
stacks.

Reverts elastic#3357
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment