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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
