You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Jordon Saardchit <js...@go2.com> on 2008/08/21 21:54:02 UTC
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???
QueryParser parser = new QueryParser( "title", new TokenAnalyzerImpl()
);
parser.setDefaultOperator( QueryParser.AND_OPERATOR ); // This line
throws the exception
I'm on version 2.2. But this isn't all that complex hehe. Anyone?
Jordon
RE: QueryParser Default Operator
Posted by Jordon Saardchit <js...@go2.com>.
Nvm, Extremely goofy project configuration here and classpath issues
with much older versions. Ignore me!
-----Original Message-----
From: Jordon Saardchit [mailto:jsaardchit@go2.com]
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???
QueryParser parser = new QueryParser( "title", new TokenAnalyzerImpl()
); parser.setDefaultOperator( QueryParser.AND_OPERATOR ); // This line
throws the exception
I'm on version 2.2. But this isn't all that complex hehe. Anyone?
Jordon
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org