ES 0.19.0 - highlight: require_field_match=true returns no highlights


(seanwalbran) #1

Hi,

Looks like in ES 0.19.0, when using search highlighting, if
require_field_match is set to true, the highlights are not returned
(even if the field matches). Curl reproduction gist follows (works
with 0.18.x):

Any help appreciated.
Thanks,
Sean


(Shay Banon) #2

The require field match flag is new in 0.19, so it might work in 0.18 because its not really taking it into affect. Also, you search on _all (the default field when using query_string), and highlight message...

On Tuesday, March 6, 2012 at 6:17 PM, seanwalbran wrote:

Hi,

Looks like in ES 0.19.0, when using search highlighting, if
require_field_match is set to true, the highlights are not returned
(even if the field matches). Curl reproduction gist follows (works
with 0.18.x):

https://gist.github.com/1987055

Any help appreciated.
Thanks,
Sean


(system) #3