RE: How to escape OR or any other keyword in solr

2018-03-27 Thread Peter Lancaster
Hi Raunak, Are you using a stop word file? That might be why you're getting 0 results searching for "OR". Cheers, Peter. -Original Message- From: RAUNAK AGRAWAL [mailto:agrawal.rau...@gmail.com] Sent: 27 March 2018 07:45 To: solr-user@lucene.apache.org Subject: How to escape OR or any o

Re: How to escape OR or any other keyword in solr

2018-03-27 Thread RAUNAK AGRAWAL
Hi Peter, Yes, I am using the stopword file which has *or *in it. Thanks for pointing out. Will remove it from the stopword file and test it again. Thank you very much!! On Tue, Mar 27, 2018 at 1:17 PM, Peter Lancaster < peter.lancas...@findmypast.com> wrote: > Hi Raunak, > > Are you using a sto

Re: How to escape OR or any other keyword in solr

2018-03-27 Thread Erick Erickson
Also, a rather obscure bit is that unless you configure it, operators must be upper case. You can simply lower-case it on the client side if necessary, so "or" won't be interpreted as an operator. Best, Erick On Tue, Mar 27, 2018 at 1:22 AM, RAUNAK AGRAWAL wrote: > Hi Peter, > > Yes, I am using

Re: How to escape OR or any other keyword in solr

2018-03-27 Thread Steven White
What about for the case when you need to match cases as such the analyzer does not use LowerCaseFilterFactory? Is there a solution for this? Steve On Tue, Mar 27, 2018 at 4:22 AM, RAUNAK AGRAWAL wrote: > Hi Peter, > > Yes, I am using the stopword file which has *or *in it. Thanks for pointing