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 <1393975...@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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to