# How we can change Elasticsearch default analyzer

**URL:** <https://discuss.elastic.co/t/how-we-can-change-elasticsearch-default-analyzer/13412>\
**Category:** Elasticsearch\
**Created:** [August 30, 2013, 3:17pm UTC](https://discuss.elastic.co/t/how-we-can-change-elasticsearch-default-analyzer/13412 "2013-08-30T15:17:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ankit\_Jain](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@Ankit\_Jain](https://discuss.elastic.co/u/Ankit_Jain)\
**Post date:** [August 30, 2013, 3:17pm UTC](https://discuss.elastic.co/t/how-we-can-change-elasticsearch-default-analyzer/13412/1 "2013-08-30T15:17:39Z")

</div>

Hi All,

I would like to know about how we can use own _custom analyzer_ as a  
default analyzer instead of standard analyzer.

For examples:  
Currently, If any new fields enter into an index will be analyzed using  
standard analyzer but, I would like to change this default behaviour by  
using own custom analyzer as default analyzer.

Please help.

Regards,  
Ankit Jain

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [August 31, 2013, 6:59pm UTC](https://discuss.elastic.co/t/how-we-can-change-elasticsearch-default-analyzer/13412/2 "2013-08-31T18:59:07Z")

</div>

The default analyzer can be specified at the index level. See the default  
analyzer section:

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

It would be under the index.analysis.analyzer section in your mapping.

Cheers,

Ivan

On Fri, Aug 30, 2013 at 8:17 AM, Ankit Jain [ankitjaincs06@gmail.com](mailto:ankitjaincs06@gmail.com) wrote:

> Hi All,
> 
> I would like to know about how we can use own _custom analyzer_ as a  
> default analyzer instead of standard analyzer.
> 
> For examples:  
> Currently, If any new fields enter into an index will be analyzed using  
> standard analyzer but, I would like to change this default behaviour by  
> using own custom analyzer as default analyzer.
> 
> Please help.
> 
> Regards,  
> Ankit Jain
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Ankit\_Jain](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@Ankit\_Jain](https://discuss.elastic.co/u/Ankit_Jain)\
**Post date:** [September 2, 2013, 5:34am UTC](https://discuss.elastic.co/t/how-we-can-change-elasticsearch-default-analyzer/13412/3 "2013-09-02T05:34:04Z")

</div>

Thanks Ivan

On Sunday, 1 September 2013 00:29:07 UTC+5:30, Ivan Brusic wrote:

> The default analyzer can be specified at the index level. See the default  
> analyzer section:
> 
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/index-modules/analysis/)
> 
> It would be under the index.analysis.analyzer section in your mapping.
> 
> Cheers,
> 
> Ivan
> 
> On Fri, Aug 30, 2013 at 8:17 AM, Ankit Jain \<[ankitj...@gmail.com](mailto:ankitj...@gmail.com)\<javascript:\>
> 
> > wrote:
> 
> > Hi All,
> > 
> > I would like to know about how we can use own _custom analyzer_ as a  
> > default analyzer instead of standard analyzer.
> > 
> > For examples:  
> > Currently, If any new fields enter into an index will be analyzed using  
> > standard analyzer but, I would like to change this default behaviour by  
> > using own custom analyzer as default analyzer.
> > 
> > Please help.
> > 
> > Regards,  
> > Ankit Jain
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:18am UTC](https://discuss.elastic.co/t/how-we-can-change-elasticsearch-default-analyzer/13412/4 "2017-07-06T02:18:34Z")

</div>


