Is it possible to query for documents that have empty values for a field?

Say need to find documents with category empty, I tried negative query:
 -category:*
But it returns 0 document. I think "category:*" is basically match all, so
this "-category:*" doesn't work.

Thanks!

-- 
Chris Lu
-------------------------
Instant Scalable Full-Text Search On Any Database/Application
site: http://www.dbsight.net
demo: http://search.dbsight.com
Lucene Database Search in 3 minutes:
http://wiki.dbsight.com/index.php?title=Create_Lucene_Database_Search_in_3_minutes
DBSight customer, a shopping comparison site, (anonymous per request) got
2.6 Million Euro funding!

Reply via email to