DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23422>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23422 Strange behaviour when use "prohibited = true". [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |INVALID ------- Additional Comments From [EMAIL PROTECTED] 2003-10-03 02:19 ------- This is not a bug...see the faq entry http://www.jguru.com/faq/view.jsp?EID=593598 Is it possible to find all documents in the index that do not contain a certain term? In other words, is it possible to make a query such as 'NOT <term>'? Try writing your query like this: +type:req +(category_id:48 category_id:51 category_id:88 category_id:179) -status:10 which is saying: - you must have a type field with value req - you must have a category_id field with at least one of the values 48, 51, 88 or 179 - you must not have a status field with a value of 10 also, your choice of analyzer could tweak these values...for the kinds of queries you are posing, you may want to skip the query parser and build the query objects yourself. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
