lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <>
Subject Re: QueryParser and escaped characters
Date Tue, 27 Jan 2004 22:11:47 GMT

On Jan 27, 2004, at 4:53 PM, wrote:
> ah.  i see.  perhaps the info at the bottom of
> is a bit misleading?

I wouldn't call it misleading as much as confusing.  QueryParser itself 
presents quite a few quirks, and combine that with escape characters 
and an analyzer and it is tricky to see what is really going on without 
understanding all the players involved.

The best advice I can offer is to always simplify things when trouble 
shooting.... eliminate the analyzer or use the WhitespaceAnalyzer, 
eliminate QueryParser from the equation, etc.  Taking these steps will 
give you insight into where oddities occur.  In your case, if you use 
WhitespaceAnalyzer, you would get the query you desire.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message