have you tried to change the fieldname "adresse.location" to "location"? If
so could please provide an example of the data youre indexing? Which
version of ES are you using?
--Florian
On Thursday, June 20, 2013 10:17:30 AM UTC+2, Christian Hansen wrote:
I am trying to filter Objects in Elasticsearch with the geo_shape filter,
this is my mapping for the fields:
I am using es 0.90.1. I wrote the same shape in location AS in
adresse.location as you mentioned, same problem.
If I change the "shape_field_name" parameter to test the errors changes:
ElasticSearchIllegalStateException[Shape with name [kiel] found but missing test field];
Maybe the problem ist within my pre-indexed shape. but elastic throws no
errors when indexing my polygon as geo_shape.
Here is a gist of the pre-indexed shape-data:
And here one of the complete mapping:
thanks for your help
Am Freitag, 21. Juni 2013 10:20:58 UTC+2 schrieb Florian Schilling:
Hi Christian,
have you tried to change the fieldname "adresse.location" to "location"?
If so could please provide an example of the data youre indexing? Which
version of ES are you using?
--Florian
On Thursday, June 20, 2013 10:17:30 AM UTC+2, Christian Hansen wrote:
I am trying to filter Objects in Elasticsearch with the geo_shape filter,
this is my mapping for the fields:
I'm working on your issue. So far I reconized, if the location field is the
first field in your data it works but I need to look a little deeper into
the things.
--Florian
On Friday, June 21, 2013 12:36:36 PM UTC+2, Christian Hansen wrote:
Hi Florian,
I am using es 0.90.1. I wrote the same shape in location AS in
adresse.location as you mentioned, same problem.
If I change the "shape_field_name" parameter to test the errors changes:
ElasticSearchIllegalStateException[Shape with name [kiel] found but missing test field];
Maybe the problem ist within my pre-indexed shape. but elastic throws no
errors when indexing my polygon as geo_shape.
Am Freitag, 21. Juni 2013 10:20:58 UTC+2 schrieb Florian Schilling:
Hi Christian,
have you tried to change the fieldname "adresse.location" to "location"?
If so could please provide an example of the data youre indexing? Which
version of ES are you using?
--Florian
On Thursday, June 20, 2013 10:17:30 AM UTC+2, Christian Hansen wrote:
I am trying to filter Objects in Elasticsearch with the geo_shape
filter, this is my mapping for the fields:
i switched the location field to the beginning and it works as far as no
exception is thrown and the shape seems to be loaded. Now I have another
issue:
when i search for locations in the index where to search there are no
results referring the indexed shape. The loaction field is a geo_shape with
type point:
Am Freitag, 21. Juni 2013 16:53:54 UTC+2 schrieb Florian Schilling:
Hi Christian,
I'm working on your issue. So far I reconized, if the location field is
the first field in your data it works but I need to look a little deeper
into the things.
--Florian
On Friday, June 21, 2013 12:36:36 PM UTC+2, Christian Hansen wrote:
Hi Florian,
I am using es 0.90.1. I wrote the same shape in location AS in
adresse.location as you mentioned, same problem.
If I change the "shape_field_name" parameter to test the errors changes:
ElasticSearchIllegalStateException[Shape with name [kiel] found but missing test field];
Maybe the problem ist within my pre-indexed shape. but elastic throws no
errors when indexing my polygon as geo_shape.
Am Freitag, 21. Juni 2013 10:20:58 UTC+2 schrieb Florian Schilling:
Hi Christian,
have you tried to change the fieldname "adresse.location" to "location"?
If so could please provide an example of the data youre indexing? Which
version of ES are you using?
--Florian
On Thursday, June 20, 2013 10:17:30 AM UTC+2, Christian Hansen wrote:
I am trying to filter Objects in Elasticsearch with the geo_shape
filter, this is my mapping for the fields:
it took me a while but I found the issue in the first place. The parsing of
indexed shapes searches the wrong fields. I opened an issue on github:
--Florian
On Monday, June 24, 2013 3:17:11 PM UTC+2, Christian Hansen wrote:
Hi Florian,
thx for your fast help.
i switched the location field to the beginning and it works as far as no
exception is thrown and the shape seems to be loaded. Now I have another
issue:
when i search for locations in the index where to search there are no
results referring the indexed shape. The loaction field is a geo_shape with
type point:
Am Freitag, 21. Juni 2013 16:53:54 UTC+2 schrieb Florian Schilling:
Hi Christian,
I'm working on your issue. So far I reconized, if the location field is
the first field in your data it works but I need to look a little deeper
into the things.
--Florian
On Friday, June 21, 2013 12:36:36 PM UTC+2, Christian Hansen wrote:
Hi Florian,
I am using es 0.90.1. I wrote the same shape in location AS in
adresse.location as you mentioned, same problem.
If I change the "shape_field_name" parameter to test the errors changes:
ElasticSearchIllegalStateException[Shape with name [kiel] found but missing test field];
Maybe the problem ist within my pre-indexed shape. but elastic throws no
errors when indexing my polygon as geo_shape.
Am Freitag, 21. Juni 2013 10:20:58 UTC+2 schrieb Florian Schilling:
Hi Christian,
have you tried to change the fieldname "adresse.location" to
"location"? If so could please provide an example of the data youre
indexing? Which version of ES are you using?
--Florian
On Thursday, June 20, 2013 10:17:30 AM UTC+2, Christian Hansen wrote:
I am trying to filter Objects in Elasticsearch with the geo_shape
filter, this is my mapping for the fields:
I got it. Really bad mistake of mine... I switched lon and lat.
Am Montag, 24. Juni 2013 15:17:11 UTC+2 schrieb Christian Hansen:
Hi Florian,
thx for your fast help.
i switched the location field to the beginning and it works as far as no
exception is thrown and the shape seems to be loaded. Now I have another
issue:
when i search for locations in the index where to search there are no
results referring the indexed shape. The loaction field is a geo_shape with
type point:
Am Freitag, 21. Juni 2013 16:53:54 UTC+2 schrieb Florian Schilling:
Hi Christian,
I'm working on your issue. So far I reconized, if the location field is
the first field in your data it works but I need to look a little deeper
into the things.
--Florian
On Friday, June 21, 2013 12:36:36 PM UTC+2, Christian Hansen wrote:
Hi Florian,
I am using es 0.90.1. I wrote the same shape in location AS in
adresse.location as you mentioned, same problem.
If I change the "shape_field_name" parameter to test the errors changes:
ElasticSearchIllegalStateException[Shape with name [kiel] found but missing test field];
Maybe the problem ist within my pre-indexed shape. but elastic throws no
errors when indexing my polygon as geo_shape.
Am Freitag, 21. Juni 2013 10:20:58 UTC+2 schrieb Florian Schilling:
Hi Christian,
have you tried to change the fieldname "adresse.location" to
"location"? If so could please provide an example of the data youre
indexing? Which version of ES are you using?
--Florian
On Thursday, June 20, 2013 10:17:30 AM UTC+2, Christian Hansen wrote:
I am trying to filter Objects in Elasticsearch with the geo_shape
filter, this is my mapping for the fields:
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.