Re: Operator "and" in highlighting

2015-03-17 Thread Nikolas Everett
On Tue, Mar 17, 2015 at 8:56 AM, Vlad Zaitsev wrote: But it seems that highlighter ignore operator: “and” and highlight any term > from queries. > > Its much more than that. For the most part highlighters reduce the query to a list of terms blindly. Some do phrases. They don't really have that

Operator "and" in highlighting

2015-03-17 Thread Vlad Zaitsev
I noticed some strange behavior of highlighter. It works in a different way to search. See example. request: { "highlight": { "pre_tags": [ "[b]" ], "post_tags": [ "[/b]" ], "fields": { "message": {} } },