Actually it seems the problem is related to my index (which has about 15
million huge documents in it).
I reindexed a few of them in an empty local solr instance and the
highlighting works fine with the same parameters.
Are there any known highlighting issues related to sharding/size of the
index ?

On Fri, Nov 13, 2015 at 4:57 PM, Philippe Soares <soa...@gqlifesciences.com>
wrote:

> 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
>



-- 
[image: GQ Life Sciences, Inc.] <http://www.gqlifesciences.com/>Philippe
Soares Senior Developer   |  [image: ☎] +1 508 599 3963
GQ Life Sciences, Inc. www.gqlifesciences.comThis email message and any
attachments are confidential and may be privileged. If you are not the
intended recipient, please notify GQ Life Sciences immediately by
forwarding this message to le...@gqlifesciences.com and destroy all copies
of this message and any attachments without reading or disclosing their
contents.

Reply via email to