Geo_shape type

Hi all,

I am trying to use a mapping with a "geo_shape" type
as documented
in http://www.elasticsearch.org/guide/reference/mapping/geo-shape-type.html

using this type in a mapping leads to:
MapperParsingException[No handler for type [geo_shape] declared on field
[geometry]]

so this type is not handled by my current elasticsearch installation.

as the docs state, i need to have jts and spatial4j in my classpath.
What i did was downloading the two jars and put them in the "lib" folder of
elasticsearch, with no success

Any hint on how to use this type?

Thanks a lot
best regards

Mauro

--

What version of Elasticsearch are you using?

On Saturday, November 3, 2012 6:03:42 AM UTC+13, Mauro Bianchi wrote:

Hi all,

I am trying to use a mapping with a "geo_shape" type
as documented in
Elasticsearch Platform — Find real-time answers at scale | Elastic

using this type in a mapping leads to:
MapperParsingException[No handler for type [geo_shape] declared on field
[geometry]]

so this type is not handled by my current elasticsearch installation.

as the docs state, i need to have jts and spatial4j in my classpath.
What i did was downloading the two jars and put them in the "lib" folder
of elasticsearch, with no success

Any hint on how to use this type?

Thanks a lot
best regards

Mauro

--

Hi,
sorry for my late answer.

I was using es 0.19.11
Using 0.20.0RC1 fixes my problem

thanks for your attention

Mauro

Mauro Bianchi
bianchimro@gmail.com

2012/11/4 Chris Male gento0nz@gmail.com

What version of Elasticsearch are you using?

On Saturday, November 3, 2012 6:03:42 AM UTC+13, Mauro Bianchi wrote:

Hi all,

I am trying to use a mapping with a "geo_shape" type
as documented in http://www.elasticsearch.*org/guide/reference/mapping/
*geo-shape-type.htmlhttp://www.elasticsearch.org/guide/reference/mapping/geo-shape-type.html

using this type in a mapping leads to:
MapperParsingException[No handler for type [geo_shape] declared on field
[geometry]]

so this type is not handled by my current elasticsearch installation.

as the docs state, i need to have jts and spatial4j in my classpath.
What i did was downloading the two jars and put them in the "lib" folder
of elasticsearch, with no success

Any hint on how to use this type?

Thanks a lot
best regards

Mauro

--

--

Hi everyone. I have got exactly the same error

org.elasticsearch.index.mapper.MapperParsingException: No handler for type
[geo_shape] declared on field [full_geometry]

This is a part of mapping

"center_point": {
"type": "geo_point",
"index": "not_analyzed"
},
"full_geometry": {
"type": "geo_shape"
}

center points works, but full_geometry failed.

ES version 1.1.1
I use ES via maven dependency

org.elasticsearch elasticsearch 1.1.1

Maybe I should add some additional dependencies or anything else.

--
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/19e830a4-f924-4f27-9208-4829045c5e65%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Got it.

I was miss JTS dependency.

com.vividsolutions
jts
1.13

--
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/87676788-f953-4d19-8262-247a3ad17da2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.