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

2018-03-27 Thread Steven White
ght 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: so

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

2018-03-27 Thread Erick Erickson
t;> 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...@gmai

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

2018-03-27 Thread RAUNAK AGRAWAL
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.ap

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 e

How to escape OR or any other keyword in solr

2018-03-26 Thread RAUNAK AGRAWAL
I have to search for state "OR" [short form for Oregon]. When I am making query state:OR, I am getting SolrException since it is recognising it as keyword. Now I tried with quotes ("") or //OR as well and when doing so..Solr doesn't give exception but it also doesn't return any matching document.