lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Ingersoll <gsing...@syr.edu>
Subject Re: How to get TermFreq only in some query results
Date Thu, 27 Jul 2006 13:07:12 GMT
You could store Term Vectors for your documents, and then look up the  
individual document vectors based on the query results.   If you need  
help w/ Term Vectors, check out Lucene in Action, search this list,  
or http://www.cnlp.org/apachecon2005

-Grant

On Jul 27, 2006, at 4:52 AM, Jia Mi wrote:

> Hi everyone,
>
> I am just developing an application using Lucene, and I know how to  
> get the
> Term Freq via the IndexReader for the whole corpus. But I wonder if  
> I can
> get the term freq statistics just inside the query results, like I  
> want the
> hot words in just recent two weeks added into Lucene indices, and how?
>
> Thank you very much, any opinions would be apprecieated!
>
> -- 
> Best and Regards,
> Jia Mi (米嘉)

--------------------------
Grant Ingersoll
Sr. Software Engineer
Center for Natural Language Processing
Syracuse University
335 Hinds Hall
Syracuse, NY 13244
http://www.cnlp.org

Voice: 315-443-5484
Skype: grant_ingersoll
Fax: 315-443-6886




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