Using limit parameter on nearby search does no limitation. #3

zyll opened this Issue Jul 11, 2010 · 2 comments


None yet
2 participants

jedisct1 commented Jul 11, 2010


I wasn't able to reproduce this (using current -git but 0.5 should behave just the same)

Was the URI in the last request properly quoted?

curl 'http://localhost:4269/api/1.0/search/test/nearby/1,2.json?radius=0&limit=1'
"tid": 25,
"overflow": true,
"matches": [




jedisct1 commented Jul 11, 2010

btw, limit=2 also returns an overflow if there are only 2 items. The "limit" is the number of items that once reached stops the search operation and returns an overflow rather than how many items will be returned.
This might change once the clustering code (epsilon parameter) gets rewritten.

@jedisct1 jedisct1 closed this Feb 6, 2013

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