lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Klaas <>
Subject Re: Extract terms not by reader, but by documents
Date Thu, 06 Sep 2007 21:59:14 GMT
On 6-Sep-07, at 11:48 AM, Grant Ingersoll wrote:

> On Sep 6, 2007, at 1:32 PM, Rafael Rossini wrote:
>> Karl, I´m aware of IndexReader.getTermFreqVector, with this I can  
>> get all
>> terms of a document, but I want all terms of a document that  
>> matched a
>> query.
>> Grant,
>>> Yes, I think I understand.  You want to know what terms from your
>>> query matched in a given document.
>> Yep, that´s what I want. In the contrib/highlighter package, the
>> query.rewrite.extractTerms is used to match the terms in the  
>> documents. So
> Can you point to where this is taking place in the contrib/ 
> highlighter?  I am not a highlighter expert, but I would like to  
> see it.  The only place I see a call to extractTerms is in  

The document is re-analyzed, or the token stream is retrieved from  
term vector reconstruction.  Das ist allist.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message