Re: How to get mappings using the Java API with ElasticSearch 0.90.10 and 1.0.0 RC1

2014-01-30 Thread Thierry Templier
Thanks very much, Luca and Roy for your answers! Thierry True, although this relates to the REST api but not to the Java API, for which the GetMappingsRequest stays the same. As I said, we introduced the get field mapping api and related GetFieldMappingsRequest. On Tue, Jan 28, 2014 at 3:13

Re: How to get mappings using the Java API with ElasticSearch 0.90.10 and 1.0.0 RC1

2014-01-28 Thread Luca Cavanna
Hi Thierry, the get field mapping apihttp://www.elasticsearch.org/guide/en/elasticsearch/reference/master/indices-get-field-mapping.htmlwas recently added to retrieve mappings for specific fields. If you need to read the whole mapping I would still use the get mapping api, while I would use

Re: How to get mappings using the Java API with ElasticSearch 0.90.10 and 1.0.0 RC1

2014-01-28 Thread Roy Russo
Just a side note that the API response format changed in 1.0.0RC1. http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/_indices_apis.html On Tuesday, January 28, 2014 3:15:57 AM UTC-5, Thierry Templier wrote: Hello, I wonder what is the best way to get the mappings for an