lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ridzwan Aminuddin>
Subject corpus vacabulary
Date Thu, 21 May 2009 06:22:08 GMT
hi can someone point me in the direction of how i can get a string array of
the corpus/index vocabulary from the index using an indexreader?

Currently this is what i am doing:

IndexReader reader =;
termenumvar = reader.terms();

then i iterate through this termenum using the term() function while still exists.

Is there a more simple refined way to do this? Thanks


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message