Re: Is a field in use?

2005-06-23 Thread Avi Drissman
On Jun 23, 2005, at 2:37 PM, Dan Armbrust wrote: In my indexes where the available fields vary by document, I maintain an additional field that lists out what fields are in used per document. Excellent idea! Thanks. Avi -- Avi 'rlwimi' Drissman [EMAIL PROTECTED] Argh! This darn mail serve

Re: Is a field in use?

2005-06-23 Thread Avi Drissman
On Jun 23, 2005, at 2:19 PM, Daniel Naber wrote: Maybe IndexReader.getFieldNames()? But will that not list fields that were in use at one time but are no longer? Avi -- Avi 'rlwimi' Drissman [EMAIL PROTECTED] Argh! This darn mail server is trunca -

Is a field in use?

2005-06-23 Thread Avi Drissman
Suppose I have an index with a varying number of fields in a document. Some documents have some fields, and some documents have others. Is there a quick way to query the index to see if a particular field name is in use at all by any document in the index? For example, if document 1 has fie