# Using "not\_analyzed" in Java API TransportClient

**URL:** <https://discuss.elastic.co/t/using-not-analyzed-in-java-api-transportclient/139696>\
**Category:** Elasticsearch\
**Created:** [July 12, 2018, 8:36am UTC](https://discuss.elastic.co/t/using-not-analyzed-in-java-api-transportclient/139696 "2018-07-12T08:36:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zhengda\_Wu](https://avatars.discourse-cdn.com/v4/letter/z/7ab992/32.png) [@Zhengda\_Wu](https://discuss.elastic.co/u/Zhengda_Wu)\
**Post date:** [July 12, 2018, 8:36am UTC](https://discuss.elastic.co/t/using-not-analyzed-in-java-api-transportclient/139696/1 "2018-07-12T08:36:35Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 9, 2018, 8:36am UTC](https://discuss.elastic.co/t/using-not-analyzed-in-java-api-transportclient/139696/2 "2018-08-09T08:36:47Z")

</div>

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