On Aug 13, 2008, at 5:02 AM, John Patterson wrote:
How do I list all the fields in an index? Some documents do not contain allfields.
Have a look at IndexReader#getFieldNames(). That'll give you back field names regardless of which documents have them.
Erik --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]