# Settings Configuration for Tokenizers/Analyzers

**URL:** <https://discuss.elastic.co/t/settings-configuration-for-tokenizers-analyzers/5863>\
**Category:** Elasticsearch\
**Created:** [November 14, 2011, 11:50am UTC](https://discuss.elastic.co/t/settings-configuration-for-tokenizers-analyzers/5863 "2011-11-14T11:50:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ronak\_Patel](https://avatars.discourse-cdn.com/v4/letter/r/439d5e/32.png) [@Ronak\_Patel](https://discuss.elastic.co/u/Ronak_Patel)\
**Post date:** [November 14, 2011, 11:50am UTC](https://discuss.elastic.co/t/settings-configuration-for-tokenizers-analyzers/5863/1 "2011-11-14T11:50:11Z")

</div>

Hello,

I'm looking to set up the tokenizers/analyzers (so as I get the  
default behavior that comes with Lucene ie. lowercase, standard,  
stopwords) using the Java API.

However, I'm noticing, as with the rest of the Java API, documentation  
is very lackluster. Also, it's confusing how I should be building the  
low level json to do this.

Why is setting this up in the configuration not a good idea?

Can anyone provide any kind of examples on how to do this using the  
Java API?

Thanks!

Ronak Patel

---

<div class="post-metadata">

**Author:** ![ssk1287](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ssk1287/32/3081_2.png) [@ssk1287](https://discuss.elastic.co/u/ssk1287)\
**Post date:** [November 14, 2011, 7:13pm UTC](https://discuss.elastic.co/t/settings-configuration-for-tokenizers-analyzers/5863/2 "2011-11-14T19:13:42Z")

</div>

May be this would help you.

> <https://stackoverflow.com/questions/6275727/define-custom-elasticsearch-analyzer-using-java-api>

On Nov 14, 5:50 am, Ronak Patel [ronak2...@gmail.com](mailto:ronak2...@gmail.com) wrote:

> Hello,
> 
> I'm looking to set up the tokenizers/analyzers (so as I get the  
> default behavior that comes with Lucene ie. lowercase, standard,  
> stopwords) using the Java API.
> 
> However, I'm noticing, as with the rest of the Java API, documentation  
> is very lackluster. Also, it's confusing how I should be building the  
> low level json to do this.
> 
> Why is setting this up in the configuration not a good idea?
> 
> Can anyone provide any kind of examples on how to do this using the  
> Java API?
> 
> Thanks!
> 
> Ronak Patel

---

<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:48am UTC](https://discuss.elastic.co/t/settings-configuration-for-tokenizers-analyzers/5863/3 "2017-07-06T03:48:43Z")

</div>


