# How can I query what the default analyzer configuration is on a server?

**URL:** https://discuss.elastic.co/t/how-can-i-query-what-the-default-analyzer-configuration-is-on-a-server/13499
**Category:** Elasticsearch
**Created:** [September 6, 2013, 6:57pm UTC](https://discuss.elastic.co/t/how-can-i-query-what-the-default-analyzer-configuration-is-on-a-server/13499 "2013-09-06T18:57:07Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Tim\_Babin](https://avatars.discourse-cdn.com/v4/letter/t/e19b73/32.png) [@Tim\_Babin](https://discuss.elastic.co/u/Tim_Babin)
#### Post date: [September 6, 2013, 6:57pm UTC](https://discuss.elastic.co/t/how-can-i-query-what-the-default-analyzer-configuration-is-on-a-server/13499/1 "2013-09-06T18:57:07Z")

</div>

How can I query what the default analyzer configuration is on a server?

Thanks,  
Tim

--  
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: ![polyfractal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/polyfractal/32/48162_2.png) [@polyfractal](https://discuss.elastic.co/u/polyfractal)
#### Post date: [September 6, 2013, 8:11pm UTC](https://discuss.elastic.co/t/how-can-i-query-what-the-default-analyzer-configuration-is-on-a-server/13499/2 "2013-09-06T20:11:23Z")

</div>

A call to the \_mapping endpoint will show you all the configured mappings  
for all the indices in your cluster:

curl -XGET localhost:9200/\_mapping

And a call to the Cluster State will show you all the analyzers configured  
for your cluster (under metadata section):

curl -XGET localhost:9200/\_cluster/state

If you haven't added any analyzers, Elasticsearch will default to the Standard  
Analyzer[http://www.elasticsearch.org/guide/reference/index-modules/analysis/standard-analyzer/](http://www.elasticsearch.org/guide/reference/index-modules/analysis/standard-analyzer/)for any analyzed fields.

-Zach

On Friday, September 6, 2013 2:57:07 PM UTC-4, Tim Babin wrote:

> How can I query what the default analyzer configuration is on a server?
> 
> Thanks,  
> Tim

--  
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:17am UTC](https://discuss.elastic.co/t/how-can-i-query-what-the-default-analyzer-configuration-is-on-a-server/13499/3 "2017-07-06T02:17:42Z")

</div>


