lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: Lucene 4.0 Get All Index Terms
Date Tue, 24 Jan 2012 22:04:42 GMT
Have a look at lucene/MIGRATE.txt?  It [tries to] describe this
change... and if something is missing please report back!

Mike McCandless

http://blog.mikemccandless.com

On Tue, Jan 24, 2012 at 4:10 PM, Stephen Howe <silentgunner@gmail.com> wrote:
> Hi all,
>
> Looking at some older Lucene examples, I noticed for older versions of
> lucene that IndexReader came with a handy terms() method that would return
> a listing of all the terms in the index and let you get at the term
> frequency. In Lucene 4.0, I noticed this method vanished from IndexReader.
> I'd like to do some analysis on my text corpus and was wondering if I could
> still easily get that information via the API, and if not, what the new
> best practice for retrieving index statistics is or will be.
>
> Thanks!
> S

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