lower-casing worked...tx...but is there a way of escaping them like we use 
escape characters in java!

Regards, 
Aravind R Yarram
Enabling Technologies
Equifax Information Services LLC
1525 Windward Concourse, J42E
Alpharetta, GA 30005
desk: 770 740 6951
email: [EMAIL PROTECTED] 



"Erick Erickson" <[EMAIL PROTECTED]> 
07/22/2008 09:40 AM
Please respond to
java-user@lucene.apache.org


To
java-user@lucene.apache.org
cc

Subject
Re: escaping logical operators such as OR AND






Have you tried lower-casing them? To be treated as an operator, they
must be upper cased.

But be careful that, when you lower-case them, your query analyzer doesn't
treat them as stop words....

Best
Erick

On Tue, Jul 22, 2008 at 9:28 AM, <[EMAIL PROTECTED]> wrote:

> helo all,
>
> In my project, we are indexing the US states...when we try to search on
> oregon ; state:OR, search on OR is throwing err...i know OR is a logical
> op in lucene...is there a way to escape such keywords?
>
> tx!
>
> Regards,
> Aravind R Yarram
> Enabling Technologies
> Equifax Information Services LLC
> 1525 Windward Concourse, J42E
> Alpharetta, GA 30005
> desk: 770 740 6951
> email: [EMAIL PROTECTED]
> This message contains information from Equifax Inc. which may be
> confidential and privileged.  If you are not an intended recipient, 
please
> refrain from any disclosure, copying, distribution or use of this
> information and note that such actions are prohibited.  If you have 
received
> this transmission in error, please notify by e-mail 
[EMAIL PROTECTED]
> .
>


This message contains information from Equifax Inc. which may be confidential 
and privileged.  If you are not an intended recipient, please refrain from any 
disclosure, copying, distribution or use of this information and note that such 
actions are prohibited.  If you have received this transmission in error, 
please notify by e-mail [EMAIL PROTECTED]

Reply via email to