Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@apache.org Received: (qmail 67309 invoked from network); 9 Aug 2002 05:30:34 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 9 Aug 2002 05:30:34 -0000 Received: (qmail 29983 invoked by uid 97); 9 Aug 2002 05:31:05 -0000 Delivered-To: qmlist-jakarta-archive-lucene-user@jakarta.apache.org Received: (qmail 29930 invoked by uid 97); 9 Aug 2002 05:31:04 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 29918 invoked by uid 98); 9 Aug 2002 05:31:04 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <012901c23f65$bd103d00$3edea8c0@nuixdim2k> From: "Minh Kama Yie" To: "Lucene Users List" Subject: using NOT in queries and searching using more than one filter Date: Fri, 9 Aug 2002 15:29:31 +1000 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0126_01C23FB9.8EAB8420" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0126_01C23FB9.8EAB8420 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi guys, Not to be annoying but I'm still stuck on my problem with "NOT". It seems that I get a set of (n-2) results for a Query (where 'n' is the = total number of documents indexed) but when I inverse that query, but = either: - putting "NOT " in front of the query and running it through = QueryParser OR - manually creating a BooleanQuery with prohibited as true and required = as false. These actions dont seem to return the "2" documents I'm looking for. = They return nothing. I was wondering if anyone else has come across this problem or can point = me in the right direction? Also, I was wondering if anyone has ever searched using more than one = filter at a time to do searching via IndexSearcher? Thanks in advance. Regards, Minh Kama Yie This message is intended only for the named recipient.=20 If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action=20 in reliance on the contents of this information is strictly=20 prohibited. ------=_NextPart_000_0126_01C23FB9.8EAB8420--