Using "not_analyzed" in Java API TransportClient

Hi everyone, I am using elasticsearch 6.3.1 with JAVA HIGH LEVEL API, and I am trying to connect to a cluster and insert data items(TransportClient used). Among the fields of a singal data, there's some fields that I don't want to be indexed. In the command line, I know how to do it. But how about in Java?

Thanks for your time!!

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