As in my comprehension they both define the same area, should I be able to
perform the same queries whatever the way I defined the area ? (Currently I
have a search query that returns wrong results on the envelope and seems to
perform well on the polygon.)
if there is an error, can you please open a github issue? However the
envelope shape expects you to set an upper left and lower right boundary.
Your coordinates more look like lower left and upper right (meaning you
might create quite a huge envelope acutally) - which obviously does not
matter for a polygon
As in my comprehension they both define the same area, should I be able to
perform the same queries whatever the way I defined the area ? (Currently I
have a search query that returns wrong results on the envelope and seems to
perform well on the polygon.)
Now it works just fine. I didn't see that coming, I thought ES was
complaining if envelope's coordinates was reverted. My bad...
Nicolas
Le lundi 24 février 2014 15:58:24 UTC+1, Alexander Reelsen a écrit :
Hey,
if there is an error, can you please open a github issue? However the
envelope shape expects you to set an upper left and lower right boundary.
Your coordinates more look like lower left and upper right (meaning you
might create quite a huge envelope acutally) - which obviously does not
matter for a polygon
--Alex
On Sat, Feb 22, 2014 at 11:14 AM, Nicolas THOMASSON <nico.th...@gmail.com<javascript:>
wrote:
Hello,
I'm new to ES. Please forgive me if I'm asking something stupid.
Is there a fundamental difference between indexing an envelope or
indexing a polygon ?
As in my comprehension they both define the same area, should I be able
to perform the same queries whatever the way I defined the area ?
(Currently I have a search query that returns wrong results on the envelope
and seems to perform well on the polygon.)
the problem here is that elasticsearch cant tell by itself if the envelope
borders need to be reverted or not... maybe you want/need such an envelope
in your calculations. Hard to tell from a machine perspective
Now it works just fine. I didn't see that coming, I thought ES was
complaining if envelope's coordinates was reverted. My bad...
Nicolas
Le lundi 24 février 2014 15:58:24 UTC+1, Alexander Reelsen a écrit :
Hey,
if there is an error, can you please open a github issue? However the
envelope shape expects you to set an upper left and lower right boundary.
Your coordinates more look like lower left and upper right (meaning you
might create quite a huge envelope acutally) - which obviously does not
matter for a polygon
As in my comprehension they both define the same area, should I be able
to perform the same queries whatever the way I defined the area ?
(Currently I have a search query that returns wrong results on the envelope
and seems to perform well on the polygon.)
Thanks for your help,
Nicolas
--
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 elasticsearc...@googlegroups.com.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.