# Annotations help

**URL:** <https://discuss.elastic.co/t/annotations-help/6014>\
**Category:** Elasticsearch\
**Created:** [November 29, 2011, 6:45pm UTC](https://discuss.elastic.co/t/annotations-help/6014 "2011-11-29T18:45:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Activity\_Bob](https://avatars.discourse-cdn.com/v4/letter/a/41988e/32.png) [@Activity\_Bob](https://discuss.elastic.co/u/Activity_Bob)\
**Post date:** [November 29, 2011, 6:45pm UTC](https://discuss.elastic.co/t/annotations-help/6014/1 "2011-11-29T18:45:07Z")

</div>

Hi,

I want to map a java field to be saved as a particular type  
(geo\_point)

Is it possible to use an annotation to make the mapping do this or do  
i have to ajust the mapping manually? (using the auto generated one at  
the moment)

cheers,  
Rob

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [November 29, 2011, 8:27pm UTC](https://discuss.elastic.co/t/annotations-help/6014/2 "2011-11-29T20:27:35Z")

</div>

I've seen Alois Work about OSEM annotations for ES :

> **[aloiscochard/elasticsearch-osem](https://github.com/aloiscochard/elasticsearch-osem)**
>
> elasticsearch-osem - ElasticSearch OSEM

  
And an interesting fork here : [https://github.com/poblish/elasticsearch-osem](https://github.com/poblish/elasticsearch-osem)

BTW, I started to write a maven plugin to generate JSON schema based on  
Alois work but I'm stucked with classloader problems !  
It's here : [https://github.com/dadoonet/esmavenplugin](https://github.com/dadoonet/esmavenplugin)  
The README file described my problem...

Don't know if all or part of this answer to your needs.

David

-----Message d'origine-----  
De : [elasticsearch@googlegroups.com](mailto:elasticsearch@googlegroups.com) [[mailto:elasticsearch@googlegroups.com](mailto:elasticsearch@googlegroups.com)]  
De la part de Activity Bob  
Envoyé : mardi 29 novembre 2011 19:45  
À : elasticsearch  
Objet : annotations help

Hi,

I want to map a java field to be saved as a particular type  
(geo\_point)

Is it possible to use an annotation to make the mapping do this or do  
i have to ajust the mapping manually? (using the auto generated one at  
the moment)

cheers,  
Rob

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 3:47am UTC](https://discuss.elastic.co/t/annotations-help/6014/3 "2017-07-06T03:47:02Z")

</div>


