I think this is what you are asking:
http://lucene.apache.org/java/2_3_0/api/core/org/apache/lucene/index/IndexReader.html#getFieldNames(org.apache.lucene.index.IndexReader.FieldOption)
On Feb 12, 2008, at 11:13 AM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]
> wrote:
Hi,
Does anyone have a code snippet which would allow me to ask my index
how
many instances of a field are indexed?
Thanks,
Marc Dumontier
Manager, Software Development
Thomson Scientific (Canada)
1 Yonge Street, Suite 1801
Toronto, Ontario M5E 1W7
Direct +1 416 214 3448
Mobile +1 416 454 3147
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]