Hi ,

I Am using solr 4.6.1 . I have name field in my schema and I am sending
following query from solr admin UI to solr. which will find names containing
characters other english alphabets.

-name:[A TO Z] AND -name:[a TO z]

In my opinion it should return documents which do not contain name in range
between A TO Z, but in my case Solr is also returning names starting with
letter Z. e.g.  "Zareena", "Zhariman","Zarimanabibi","Zarnabanu" etc

Is this correct behaviour?if yes then what would be the correct query to
find user names which contain only english alphabet characters. 

Following is my debug output:
  "debug": {
    "rawquerystring": "-name:[A TO Z] AND -name:[a TO z]",
    "querystring": "-name:[A TO Z] AND -name:[a TO z]",
    "parsedquery": "-name:[a TO z] -name:[a TO z]",
    "parsedquery_toString": "-name:[a TO z] -name:[a TO z]",
    "QParser": "LuceneQParser",







--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-range-query-issue-tp4155327.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to