Elasticsearch Mapping using java api


(Aniket) #1

I have just installed elasticsearch 5.0.0. Now I want to add some data to it using java api. But before that I want to set mapping for string type to "not analysed" Can anyone help me how to add mapping using java api.

I want all Strings as not analysed.


(David Pilato) #2

The doc says that: https://www.elastic.co/guide/en/elasticsearch/client/java-api/current/java-admin-indices.html#java-admin-indices-put-mapping


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.