endure it.
1 Corinthians 10:13 (New American Standard Version)
Well done Erik!
Original Message Follows
From: Daniel Noll <[EMAIL PROTECTED]>
Reply-To: java-user@lucene.apache.org
To: java-user@lucene.apache.org
Subject: Re: QueryParser error + solution
Date: Wed, 05 Apr 2006 14
miki sun wrote:
Thanks Erik and Michael!
I copied some code from demo.SearchFiles.java, I do not have a more
clearer tracing message. Now it works.
But do you have a better way than this:
[snip]
Something like this?
String str = "Really bad query string: lots of evil stuff!";
str = Qu
||(qr.charAt(i) == '^')||(qr.charAt(i) == '"')
||(qr.charAt(i) == '*')||(qr.charAt(i) == '?')
||(qr.charAt(i) == ':')||(qr.charAt(i) == '\\') )
theQueries += "\\" + qr.charAt(i);
else
theQ
':')||(qr.charAt(i) == '\\') )
theQueries += "\\" + qr.charAt(i);
else
theQueries += qr.charAt(i) ;
}
Original Message Follows
From: Erik Hatcher <[EMAIL PROTECTED]>
Reply-To: java-user@lucene.apache.org
To: java-user@lucene.apa
s that darkness!
java.lang.NullPointerException
Original Message Follows
From: Michael Barry <[EMAIL PROTECTED]>
Reply-To: java-user@lucene.apache.org
To: java-user@lucene.apache.org
Subject: Re: QueryParser error
Date: Tue, 04 Apr 2006 06:44:02 -0400
You need to escape the colons.
miki sun wrote:
Hi t
hael Barry <[EMAIL PROTECTED]>
Reply-To: java-user@lucene.apache.org
To: java-user@lucene.apache.org
Subject: Re: QueryParser error
Date: Tue, 04 Apr 2006 06:44:02 -0400
You need to escape the colons.
miki sun wrote:
Hi there
Who can tell me why I got the the queryParser error for the
is that darkness!
java.lang.NullPointerException
Original Message Follows
From: Michael Barry <[EMAIL PROTECTED]>
Reply-To: java-user@lucene.apache.org
To: java-user@lucene.apache.org
Subject: Re: QueryParser error
Date: Tue, 04 Apr 2006 06:44:02 -0400
You need to escape the
You need to escape the colons.
miki sun wrote:
Hi there
Who can tell me why I got the the queryParser error for the following
query:
Error in parse query :The light of the body is the eye: if therefore
thine eye be single, thy whole body shall be full of light. But if
thine eye be evil
Hi there
Who can tell me why I got the the queryParser error for the following query:
Error in parse query :The light of the body is the eye: if therefore thine
eye be single, thy whole body shall be full of light. But if thine eye be
evil, thy whole body shall be full of darkness. If
Hi there
Who can tell me why I got the the queryParser error for the following query:
Error in parse query :The light of the body is the eye: if therefore thine
eye be single, thy whole body shall be full of light. But if thine eye be
evil, thy whole body shall be full of darkness. If
10 matches
Mail list logo