lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trejkaz <>
Subject Re: Trying to generate a list of DISTINCT field names from all documents in an index
Date Thu, 15 Dec 2011 20:34:01 GMT
On Fri, Dec 16, 2011 at 1:31 AM, todd.hunt <> wrote:
> I've read through the Lucene In Action book and various postings online.
> Maybe I'm not looking for the correct terms, but I can't find anything that
> will return and cache a list of unique field names.  If anyone can help
> point me towards a better solution, please let me know.

If it's always over all documents, you have IndexReader.getFieldNames:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message