lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trejkaz <trej...@trypticon.org>
Subject Re: Trying to generate a list of DISTINCT field names from all documents in an index
Date Thu, 15 Dec 2011 20:33:57 GMT
On Fri, Dec 16, 2011 at 1:31 AM, todd.hunt <todd.hunt@nisc.coop> 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:
http://bit.ly/sqDlAT

TX

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