Highlight cuts of words


(Robert Gründler) #1

Hi,

when using highlighting with the fragment_size parameter, ES returns
snippets
with cut-off words at the beginning. eg. "The quick brown fox" will return
"ck brown fox".

Is there a way to make ES start the highlight snippets at the beginning of
a word?

thanks!

-robert


(Shay Banon) #2

No, when highlighting over term vector based fields. Though support for it
has been added to the "fast highlighter" in Lucene 3.5 I believe.

2011/11/20 Robert Gründler r.gruendler@gmail.com

Hi,

when using highlighting with the fragment_size parameter, ES returns
snippets
with cut-off words at the beginning. eg. "The quick brown fox" will return
"ck brown fox".

Is there a way to make ES start the highlight snippets at the beginning of
a word?

thanks!

-robert


(system) #3