lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Ingersoll <gsing...@apache.org>
Subject Re: Extract terms not by reader, but by documents
Date Thu, 06 Sep 2007 18:48:22 GMT

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  
QueryTermExtractor.java

-Grant



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


Mime
View raw message