elasticsearch/elasticsearch — Issue #1652: text_phrase_prefix query does not support highlighting unless field has term_vectors set
Author: f1sherman
Created: 2012-01-30 17:05:34+00:00
State: open

When performing a text_phrase_prefix query no highlighting is returned on fields that do not have text_phrase_prefix set to 'with_positions_offsets'. I see highlighting for all fields when performing a normal text and a text_phrase query even if they do not have term vectors set.

I am using elasticsearch 0.18.6.

It looks like this user experienced the same issue (which led me to try setting term vectors):
http://elasticsearch-users.115913.n3.nabble.com/Text-Phrase-Query-td3409587.html