One approach to look for everything, or not something is to add a field to each document which is a constant value. Like a field named exists and a value of true.
Then you can do search like
exists:true NOT microsoft
This will find all documents without the term microsoft in them.
Just to have it find documents with nothing might be a little tricky. You might want to put a field in the document which indicates the size or something like that. Or just create an empty field and look for
empty:true
I hope this rambling helps
--Peter
On Monday, December 16, 2002, at 03:24 PM, Minh Kama Yie wrote:
Hi guys,
Just wondering if lucene indexes empty strings and if so, how to search for this using the query language?
Regards,
Minh Kama Yie
This message is intended only for the named recipient.
If you are not the intended recipient you are notified that
disclosing, copying, distributing or taking any action
in reliance on the contents of this information is strictly
prohibited.
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>