Re: How can I read records from Lucene

2011-10-18 Thread Ian Lea
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

How can I read records from Lucene

2011-10-17 Thread dyzc
Hi, I would like to read the term and its frequency or score out of indices. How can I do it using Java? Thanks!