lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Conlon" <t...@2ls.com>
Subject RE: Escaping special characters
Date Sun, 23 Sep 2007 11:16:51 GMT
Hi Karl,

> Did you use the same analyzer when populating the index as when you
create the query?

Yes, I used the default analyzer in a modified version of the command
line demo.

> If you did, can you demonstrate the problem with a small stand alone
test case?

I'll try.
 
Tom

-----Original Message-----
From: Karl Wettin [mailto:karl.wettin@gmail.com] 
Sent: 23 September 2007 10:39
To: java-user@lucene.apache.org
Subject: Re: Escaping special characters


23 sep 2007 kl. 10.53 skrev Tom Conlon:

>
> Unless I'm missing something, according to:
>
> http://lucene.apache.org/java/docs/queryparsersyntax.html#Escaping%
> 20Spe
> cial%20Characters
>
> I should be able to search for C++ and C# using something like:
> C\+\+ and C\#.

That is correct.

>
> This doesn't work.

Did you use the same analyzer when populating the index as when you
create the query?

If you did, can you demonstrate the problem with a small stand alone
test case?


--
karl

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


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


Mime
View raw message