However, you may want to provide 1 or more fields which describe the fields available in this document.
field1exists:true
or
add the field names of the fields that exist in 1 Lucene field separated by spaces so the tokenizer breaks them into multiple terms.
Then search the exists field for the fields you want
exists:field1 OR exists:field2
Just some thoughts.
--Peter
On Monday, December 30, 2002, at 08:58 AM, Erik Hatcher wrote:
Is it possible to get a collection of documents based on whether they have a particular field (regardless of value)? I'm indexing HTML documents, and want to pull out some information that may or may not be present in the documents (and adding a field if that information exists but not otherwise), but later I want to retrieve a list of all documents that have that field.
If its possible would you mind sharing how? If not, are folks employing some kind of other tricks to accomplish something like this?
Thanks,
Erik
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
