lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DMGoodst...@lbl.gov
Subject QueryParser and escaped characters
Date Tue, 27 Jan 2004 21:00:11 GMT
I'm constructing a query using queryparser as follows:

Query query = QueryParser.parse("ariadne\-1",
                          "default", new
StandardAnalyzer());


when I print out query.toString(), i get:

default:"ariadne 1"

I'm not sure why my escape of "-" is not working?

--David Goodstein




---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message