lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson" <erickerick...@gmail.com>
Subject Re: escaping logical operators such as OR AND
Date Tue, 22 Jul 2008 14:13:10 GMT
<<is there a way of escaping them like we use
escape characters in java>>

I haven't ever tried, so I don't know <G>... But my
poor memory doesn't bring any to mind....

Best
Erick

On Tue, Jul 22, 2008 at 9:53 AM, <Aravind.Yarram@equifax.com> wrote:

> 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: aravind.yarram@equifax.com
>
>
>
> "Erick Erickson" <erickerickson@gmail.com>
> 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, <Aravind.Yarram@equifax.com> 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: aravind.yarram@equifax.com
> > 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
> postmaster@equifax.com
> > .
> >
>
>
> 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 postmaster@equifax.com
> .
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message