Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 11330 invoked from network); 10 Nov 2004 09:46:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 10 Nov 2004 09:46:51 -0000 Received: (qmail 12302 invoked by uid 500); 10 Nov 2004 09:46:44 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 12209 invoked by uid 500); 10 Nov 2004 09:46:43 -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 12196 invoked by uid 99); 10 Nov 2004 09:46:43 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [216.136.175.216] (HELO web21327.mail.yahoo.com) (216.136.175.216) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 10 Nov 2004 01:46:43 -0800 Received: (qmail 32831 invoked by uid 60001); 10 Nov 2004 09:46:41 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=j56A7Wi+yzYdoiujuxar+OiKbWjblEyJfZijlC2Cmdaspto+1PAoZkmNqlbt0qIcm7LIswl/Jowpt1uC0CtQQ2IVn0pjrVBhqOdPxo4SsFifQl2morJYYtWIqUfqxImCAMUbVzv+JhXAGUypCggF08PhtdhMUjJ4aT5cY6MMN+I= ; Message-ID: <20041110094641.32829.qmail@web21327.mail.yahoo.com> Received: from [193.226.211.176] by web21327.mail.yahoo.com via HTTP; Wed, 10 Nov 2004 01:46:41 PST Date: Wed, 10 Nov 2004 01:46:41 -0800 (PST) From: Sanyi Subject: stopword AND validword throws exception To: lucene-user@jakarta.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi! I've left out custom stopwords from my index using the StopAnalyzer(customstopwords). Now, when I try to searh the index the same way (StopAnalyzer(customstopwords)), it seems to act strange: This query works as expected: validword AND stopword (throws out the stopword part and searches for validword) This query seems to crash: stopword AND validword (java.lang.ArrayIndexOutOfBoundsException: -1) Maybe it can't handle the case if it had to remove the very first part of the query?! Can anyone else test this for me? How can I overcome this problem? (lucene-1.4-final.jar) Thanks for your time! Sanyi __________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org