tags:

views:

73

answers:

2

http://localhost:8983/solr/select?wt=json&q=lat:[35%20to%2038] results in

**org.apache.lucene.queryParser.ParseException: Cannot parse 'lat:[35 to 38]': Encountered " "38 "" at line 1, column 11. Was expecting: "]"

This is a pretty basic range query and this error will prevent us from using SOLR for our projects

+1  A: 

Try 'TO' in upper-case.

Pascal Dimassimo
You're right. lowercase 'to' appears to work, but 'TO' works as it should.
mquinsland
yup, it *has* to be upper-case
Mauricio Scheffer
A: 

Switched default to use dismax instead of lucene parser.

mquinsland