Hi,
I have documents with very large fields which I want to highlight.
When a word hits in the far end of those fields, the FastVectorHighlighter
is unable to pull any fragment.
I'm able to pull fragments using the original highlighter and setting
maxAnalyzedChars to a very high value, but I can't find any combination
that would make this work with the FastVectorHighlighter.

I tried setting fragSize = 0 and fragListBuilder = "single", but it's still
not returning any snippet. Also my requirement is to pull a single smaller
fragment (say around 300 chars) even if the match is at the end of a large
field.

I don't want to use the original highlighter because it's putting the <em>
tags around each highlighted word instead of around the first and last
highlighted word.

Is there any way to achieve this with the FVH ?

Thanks in advance for any help you could provide.

Philippe

Reply via email to