lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lalevée <nicolas.lale...@anyware-tech.com>
Subject Re: is there any workaround to get the field names?
Date Sun, 04 Feb 2007 13:43:58 GMT
Le dimanche 4 février 2007 13:56, Mohammad Norouzi a écrit :
> Hi
> as far as I know there is no way to obtain the structure of the index. for
> example, I need to have a list of fields available in the index and their
> type.
> I need this feature, what shall I do?

Use this one :
http://lucene.apache.org/java/docs/api/org/apache/lucene/index/IndexReader.html#getFieldNames(org.apache.lucene.index.IndexReader.FieldOption)

Nicolas

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