-----Original Message-----
From: RAUNAK AGRAWAL [mailto:agrawal.raunak@gmail.com]
Sent: 27 March 2018 12:14
To: solr-user@lucene.apache.org
Subject: How to escape OR or any other keyword in solr
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.
Kindly let me know what is the workaround for this issue?
Thanks
No comments:
Post a Comment