Hi Thierry, the get field mapping api<http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html>was 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 the get field mapping if you only need to get the mapping for a few fields.
On Tuesday, January 28, 2014 9:15:57 AM UTC+1, Thierry Templier wrote: > > Hello, > > I wonder what is the best way to get the mappings for an index using the > ElasticSearch Java API with > version 0.90.10. I saw that there is only a GetFieldMappingsRequest class > for this version whereas > a class GetMappingsRequest is now present in 1.0RC1. > > Thanks very much for your answer and your help! > Thierry > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/2a209b00-76ac-4db3-92b8-ba3df0443753%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.