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


(Tim Babin) #1

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.
For more options, visit https://groups.google.com/groups/opt_out.


(Zachary Tong) #2

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
Analyzerhttp://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.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #3