Range queries don't seem to be working #189

Closed
DTalpas opened this Issue Dec 17, 2013 · 1 comment

Comments

Projects
None yet
2 participants

DTalpas commented Dec 17, 2013

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]

my query:

curl -X GET http://111.111.111.11: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?

Thanks,
Dan

Owner

rnewson commented Dec 17, 2013

It will if you send it correctly. Quote your arguments.

rnewson closed this Dec 17, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment