On Tue, Jan 27, 2004 at 01:00:11PM -0800, [EMAIL PROTECTED] wrote:
> 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
> 
It is working. Without escaping you would specify an ariadne BUT 1
query. It is the StandardAnalyzer which drops the '-'. Anyway,
if you've indexed with the StandardAnalyzer, you'll hardly find dashes
in your text.

incze

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to