25 okt 2007 kl. 19.57 skrev Vs_Inf:
We have a requirement to allow users of our search application to use "NOT"
operator on a single term.

Is there a work-around for this requirement?

You will need to combine the NOT-statement with a MatchAllDocsQuery.

<http://lucene.apache.org/java/2_2_0/api/org/apache/lucene/search/ MatchAllDocsQuery.html>

--
karl

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to