Hi Erick,

Thanks for asking, yes we have termVectors=true set:

<fieldType name="FullText" class="solr.TextField" positionIncrementGap="100" 
autoGeneratePhraseQueries="false" stored="true" termVectors="true" 
termPositions="true" termOffsets="true">

I guess I should also mention that highlighting works fine using the 
fastVectorHighLighter as long as we don't do a MultiTerm query.   For example 
see the query and results appended below (using the same hl parameters listed 
in the previous email)


Tom
--------------------------------------------------------
<str name="q">ocr:tinkham</str>

<lst name="highlighting">
−
<lst name="mdp.39015015394847_24">
−
<arr name="ocr">
−
<str>
 John {lt:}b style="background:#ffff00"{gt:}Tinkham{lt:}/b{gt:}, who
married Miss Mallie Kingsbury; Mr. William Ash-
ley, and Mr. Leavitt, who, I believe, built the big
stone house, now left high and dry by itself, on
the top of Lyon street hill. As 
</str>
</arr>
</lst>
</lst>

-----Original Message-----
From: Erick Erickson [mailto:erickerick...@gmail.com] 
Sent: Wednesday, June 08, 2011 4:56 PM
To: solr-user@lucene.apache.org
Subject: Re: Does MultiTerm highlighting work with the fastVectorHighlighter?

Just to check, does the field have termVectors="true" set?
I think it's required for FVH to work.
Best
Erick

Reply via email to