Re: Listing fields in an index

2009-02-10 Thread Murat Yakici
Use myIndexReader.|*getFieldNames *(IndexReader.FieldOption

Re: Listing fields in an index

2008-08-13 Thread John Patterson
L PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Listing-fields-in-an-index-tp18959421p18961700.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. ---

Re: Listing fields in an index

2008-08-13 Thread Erik Hatcher
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 all fields. Have a look at IndexReader#getFieldNames(). That'll give you back field names regardless of which documents have them. Erik --

Listing fields in an index

2008-08-13 Thread John Patterson
Hi, How do I list all the fields in an index? Some documents do not contain all fields. Thanks, John -- View this message in context: http://www.nabble.com/Listing-fields-in-an-index-tp18959436p18959436.html Sent from the Lucene - Java Users mailing list archive at Nabble.com

Listing fields in an index

2008-08-13 Thread John Patterson
Hi, How do I list all the fields in an index? Some documents do not contain all fields. Thanks, John -- View this message in context: http://www.nabble.com/Listing-fields-in-an-index-tp18959421p18959421.html Sent from the Lucene - Java Users mailing list archive at Nabble.com