lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Lea <ian....@gmail.com>
Subject Re: How can I read records from Lucene
Date Tue, 18 Oct 2011 08:59:42 GMT
IndexReader has assorted methods for reading terms and frequency
vectors.  See the javadocs for that class and TermDocs and TermEnum
and TermFreqVector.  Score is only relevant after a search.  See
TopDocs and ScoreDoc.

If you want more specific advice, ask a more specific question.  Or use Google.


--
Ian.


On Tue, Oct 18, 2011 at 1:32 AM, dyzc <1393975679@qq.com> wrote:
> Hi,
>
>
> I would like to read the term and its frequency or score out of indices. How can I do
it using Java?
>
>
> Thanks!

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