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: TermsVector
Date Sat, 27 Dec 2008 02:41:44 GMT
Have a look at the Field.TermVector options to the Field constructor.   
You will need to add this attribute at index time, then during search,  
you can use IndexReader.getTermFreqVector (or it's variants).

-Grant

On Dec 25, 2008, at 4:40 AM, Shahid Faiz wrote:

> Hi,
>
> I am new to lucene. I am trying to build term clusters based on the  
> results
> returned by a query. Is there any way I can get terms of resulted  
> documents
> and their scores?
>
> Thanks,
> shahid

--------------------------
Grant Ingersoll

Lucene Helpful Hints:
http://wiki.apache.org/lucene-java/BasicsOfPerformance
http://wiki.apache.org/lucene-java/LuceneFAQ











---------------------------------------------------------------------
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