lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicola Buso <nb...@ebi.ac.uk>
Subject Retrieving FieldInfo
Date Tue, 14 May 2013 10:35:08 GMT
Hi,

I was looking to a way to obtain FieldInfo(s) from the IndexReader; we
need in some way to describe the index. Can I do this?
--------
AtomicReader ar = <indexReader>.leaves().get(0).reader();
// than call
ar.getFieldInfos();
--------
What I mean is, can I suppose every AtomicReader in leaves() contain the
same informations about FieldInfos and I do not need to iterate over
leaves()?


Nicola.



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