lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ridzwan Aminuddin ...@world-check.com>
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 = IndexReader.open(indexdirectorypath);
termenumvar = reader.terms();

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

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

Thanks.

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