Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 25201 invoked from network); 21 Aug 2008 20:19:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Aug 2008 20:19:31 -0000 Received: (qmail 98490 invoked by uid 500); 21 Aug 2008 20:19:22 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 98449 invoked by uid 500); 21 Aug 2008 20:19:22 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 98438 invoked by uid 99); 21 Aug 2008 20:19:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Aug 2008 13:19:22 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [209.190.172.35] (HELO mail.go2.com) (209.190.172.35) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Aug 2008 20:18:25 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: QueryParser Default Operator Date: Thu, 21 Aug 2008 16:18:32 -0400 Message-ID: <180939A51C17274FB68581AE17C5E0E7202AB9@bertha.Volley.local> In-Reply-To: <180939A51C17274FB68581AE17C5E0E7202AB6@bertha.Volley.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: QueryParser Default Operator Thread-Index: AckDx6kVxyE5FI+9Roemi7AkwMrrkQAA1T5A References: <180939A51C17274FB68581AE17C5E0E7202AB6@bertha.Volley.local> From: "Jordon Saardchit" To: X-Virus-Checked: Checked by ClamAV on apache.org Nvm, Extremely goofy project configuration here and classpath issues with much older versions. Ignore me!=20 -----Original Message----- From: Jordon Saardchit [mailto:jsaardchit@go2.com]=20 Sent: Thursday, August 21, 2008 11:54 AM To: java-user@lucene.apache.org Subject: QueryParser Default Operator This may have been answered before, but is there a reason why setting the default operator on a QueryParser throws a java.lang.NoSuchFieldError??? =20 QueryParser parser =3D new QueryParser( "title", new TokenAnalyzerImpl() ); parser.setDefaultOperator( QueryParser.AND_OPERATOR ); // This line throws the exception =20 =20 I'm on version 2.2. But this isn't all that complex hehe. Anyone? =20 Jordon --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org