Stephen Greene wrote:
Hi Koji,

Thank you. I implemented a solution based on the FieldTermStackTest.java
and if I do a search like "iron ore" it matches iron or ore. The same is
true if I specify iron AND ore.

The termSetMap[0].value[0] = ore and termSetMap[0].value[1] = iron.

What am I missing in having a prhase match correctly?

Thanks,

Steve

Hi Steve,

Ah, I was wrong. I should say FieldPhraseList, not FieldTermStack.
Please refer to Step 3 in Algorithm section of the following Javadoc:

http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc/contrib-highlighter/org/apache/lucene/search/vectorhighlight/package-summary.html

Koji

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


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to