You can use a TermEnum enumerator, accessed through an instance of IndexReader, 
to walk through the list of terms.
There is an example of this on Page 198 in "Lucene in Action".

-- Neal

-----Original Message-----
From: Tim Haughton [mailto:[EMAIL PROTECTED]
Sent: Monday, October 13, 2008 10:23 AM
To: lucene-net-user@incubator.apache.org
Subject: Term Dictionary Items

I want to add auto complete to a search box in a document management
application. To do this, I'm going to need to get access to all terms stored
in the Term Dictionary. How would I go about this?  I've got the Manning
Lucene book but couldn't find anything in there, although feel free to point
me in the right direction if you know where help can be found.

Cheers,

Tim

Reply via email to