We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Query
{ "query": { "filtered": { "query": { "match_all": {} }, "filter": { "geo_polygon": { "coordinate": { "points": { "points": [ [ -84.293222919922, 33.865223592668 ], [ -84.293222919922, 33.632776407332 ], [ -84.482737080078, 33.632776407332 ], [ -84.482737080078, 33.865223592668 ], [ -84.293222919922, 33.865223592668 ] ] } } } } } }, "size": 2 }
always returns 10 results and does not consider "size" parameter.
To compare:
{ "query": { "filtered": { "query": { "match_all": {} }, "filter": { "match_all": {} } } }, "size": "2" }
returns 2 results.
MacOS, elastic search version: 1.0.1 (tested with 0.18), lucene_version: 4.6
The text was updated successfully, but these errors were encountered:
Improve error detection in geo_filter parsing
efa60f7
Relates to elastic#5370
you have an extra points wrapper at
points
"coordinate": { "points": { "points": [
If you only have the array one it should good. I've going to improve the error reporting in this case.
Sorry, something went wrong.
bb63b3f
Relates to #5370
3f446c3
No branches or pull requests
Query
always returns 10 results and does not consider "size" parameter.
To compare:
returns 2 results.
MacOS, elastic search version: 1.0.1 (tested with 0.18), lucene_version: 4.6
The text was updated successfully, but these errors were encountered: