I am doing something just like your example regarding range queries:
?q=pizza AND lat:[51.4707 TO 51.5224] AND long:[-0.6622 TO -0.5775]
curl -X GET http://18.104.22.168:5984/_fti/local/twitter/_design/lucene/by_hashtag?q=latitude:[32.67047897 TO 32.91350449] AND longitude:[-80.09006463 TO -79.80094709]
yet when I attempt a curl command as a test I receive the following error:
curl: option -79.80094709]: is unknown
&debug=true doesn't yield anymore information.
Any ideas why couchdb-lucene wouldn't be accepting the longitude range as a parameter?
It will if you send it correctly. Quote your arguments.