# ElasticSearch Analyzers with JAVA API

**URL:** <https://discuss.elastic.co/t/elasticsearch-analyzers-with-java-api/8073>\
**Category:** Elasticsearch\
**Created:** [June 13, 2012, 8:03am UTC](https://discuss.elastic.co/t/elasticsearch-analyzers-with-java-api/8073 "2012-06-13T08:03:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saurabh](https://avatars.discourse-cdn.com/v4/letter/s/ee7513/32.png) [@Saurabh](https://discuss.elastic.co/u/Saurabh)\
**Post date:** [June 13, 2012, 8:03am UTC](https://discuss.elastic.co/t/elasticsearch-analyzers-with-java-api/8073/1 "2012-06-13T08:03:47Z")

</div>

I am using bulkRequestBuilder to create index. How to use analyzers with it?

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [June 14, 2012, 9:07pm UTC](https://discuss.elastic.co/t/elasticsearch-analyzers-with-java-api/8073/2 "2012-06-14T21:07:18Z")

</div>

You mean configure different analyzers? thats done on the mapping phase,  
when you create an index, you can define custom mappings for fields, and  
with them, define custom analyzers.

On Wed, Jun 13, 2012 at 10:03 AM, Saurabh [saurabh.k1510@gmail.com](mailto:saurabh.k1510@gmail.com) wrote:

> I am using bulkRequestBuilder to create index. How to use analyzers with  
> it?

---

<div class="post-metadata">

**Author:** ![Saurabh](https://avatars.discourse-cdn.com/v4/letter/s/ee7513/32.png) [@Saurabh](https://discuss.elastic.co/u/Saurabh)\
**Post date:** [June 15, 2012, 3:42am UTC](https://discuss.elastic.co/t/elasticsearch-analyzers-with-java-api/8073/3 "2012-06-15T03:42:31Z")

</div>

Thanks, i will look into it.

On Fri, Jun 15, 2012 at 2:37 AM, Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com) wrote:

> You mean configure different analyzers? thats done on the mapping phase,  
> when you create an index, you can define custom mappings for fields, and  
> with them, define custom analyzers.
> 
> On Wed, Jun 13, 2012 at 10:03 AM, Saurabh [saurabh.k1510@gmail.com](mailto:saurabh.k1510@gmail.com) wrote:
> 
> > I am using bulkRequestBuilder to create index. How to use analyzers with  
> > it?

--  
Saurabh Kumar  
M.Sc (Mathematics) B.E (Computer Science)  
Birla Institute of Technology and Science-Pilani

---

<div class="post-metadata">

**Author:** ![wishnaveen](https://avatars.discourse-cdn.com/v4/letter/w/dc4da7/32.png) [@wishnaveen](https://discuss.elastic.co/u/wishnaveen)\
**Post date:** [August 13, 2012, 6:18pm UTC](https://discuss.elastic.co/t/elasticsearch-analyzers-with-java-api/8073/4 "2012-08-13T18:18:41Z")

</div>

Hi Saurabh,

Please can you provide me the code snippet for how to use analyzers in case  
of bulk request builder using java api.

Much appreciated if you could respond as soon as possible. We struck at that  
point.

Thanks,  
Navvi.

---

<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:** [July 6, 2017, 3:16am UTC](https://discuss.elastic.co/t/elasticsearch-analyzers-with-java-api/8073/5 "2017-07-06T03:16:31Z")

</div>


