Geo_bounding_box returns 0 results every time

Am experiencing a geo bounding box issue that returns 0 results no matter
how I modify the query

This gist https://gist.github.com/maruf89/7c1cb805511b48ac7720 contains
the setup and query along with a similar query that should work.

I've tested on ES 1.3.0 and 1.5.0

Am I missing something here?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/a2b7abcd-c75b-4fd8-807e-cc25385f442c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi,

Should the top_left latitude not be higher than the bottom_right latitude,
giving the following bounding box?

"geo_bounding_box":{
"coords":{
"top_left":{
"lat":55,
"lon":10
},
"bottom_right":{
"lat":50,
"lon":15
}
}
}

Best regards,

Christian

On Thursday, April 2, 2015 at 10:09:26 AM UTC+1, Marius Miliunas wrote:

Am experiencing a geo bounding box issue that returns 0 results no matter
how I modify the query

This gist https://gist.github.com/maruf89/7c1cb805511b48ac7720 contains
the setup and query along with a similar query that should work.

I've tested on ES 1.3.0 and 1.5.0

Am I missing something here?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/c2947d3e-120f-4e65-a852-9dfb9cd4d106%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Duh... Thanks a ton Chris. I was starting to go nuts.

On Thursday, April 2, 2015 at 11:09:26 AM UTC+2, Marius Miliunas wrote:

Am experiencing a geo bounding box issue that returns 0 results no matter
how I modify the query

This gist https://gist.github.com/maruf89/7c1cb805511b48ac7720 contains
the setup and query along with a similar query that should work.

I've tested on ES 1.3.0 and 1.5.0

Am I missing something here?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/df548ca2-92cb-43d7-bda4-91ed090ecc24%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Duh... Thanks a ton Christian. I was starting to go nuts.

On Thursday, April 2, 2015 at 11:42:18 AM UTC+2, chri...@elastic.co wrote:

Hi,

Should the top_left latitude not be higher than the bottom_right latitude,
giving the following bounding box?

"geo_bounding_box":{
"coords":{
"top_left":{
"lat":55,
"lon":10
},
"bottom_right":{
"lat":50,
"lon":15
}
}
}

Best regards,

Christian

On Thursday, April 2, 2015 at 10:09:26 AM UTC+1, Marius Miliunas wrote:

Am experiencing a geo bounding box issue that returns 0 results no matter
how I modify the query

This gist https://gist.github.com/maruf89/7c1cb805511b48ac7720 contains
the setup and query along with a similar query that should work.

I've tested on ES 1.3.0 and 1.5.0

Am I missing something here?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/450f0e6a-2bc6-4b2a-a5ea-a7396c4903af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.