Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

Range queries don't seem to be working #189

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

Range queries don't seem to be working #189

DTalpas opened this issue Dec 17, 2013 · 1 comment

Comments

@DTalpas
Copy link

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

@rnewson
Copy link
Owner

rnewson commented Dec 17, 2013

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

@rnewson rnewson closed this as completed Dec 17, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants