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
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
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 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
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 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 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
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.
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
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.