Hi, We have a requirement to allow users of our search application to use "NOT" operator on a single term. For example, if the user enters "not customer", they are expecting the search to return everything that is not "customer".
How can i achive this given Lucene limitation on NOT operator which according to Lucene documentation: The NOT operator cannot be used with just one term. For example, the following search will return no results: NOT "jakarta apache" Is there a work-around for this requirement? Thanks for your help. -Vasu -- View this message in context: http://www.nabble.com/Using-not-operator-in-query-tf4692536.html#a13412435 Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]