I just released versions 1.5.1 and 1.6.0 of the Experimental Highlighter plugin. There are only three changes:
- The 1.6.0 version supports Elasticsearch 1.6.0
- Added a
return_offsets
option which returns the offsets in the string that would be highlighted instead of the string. This is an experimental feature. Beware character encoding - the offsets returned are those for Java's native string encoding. - Fix an error where you'll get a null pointer exception is one of the
matched_fields
doesn't exist.