(11/06/05 7:08), Mattew Johnstein wrote:
Hi all,

I am trying to figure out how Lucene gets the offset positionsinformation for 
Phrase/MultiPhrase queries when it is doing the highlighting with 
"hl.useFastVectorHighlighter=true" .
I know that using FVH, Lucene is able to get the term positions of the termSet from the 
TermVectorComponent. But for phrase queries how does Lucene get the offset position of 
only the "exact phrase" match?

Mattew,

I'm not sure this is the answer you wanted, but look at:

https://builds.apache.org//job/Lucene-trunk/javadoc/contrib-highlighter/org/apache/lucene/search/vectorhighlight/package-summary.html#package_description

FVH constructs QueryPhraseMap from user query and FieldTermStack from
TermFreqVector info in the index.

koji
--
http://www.rondhuit.com/en/

Reply via email to