# Why elasticsearch defined default analyzer doesn't work?

**URL:** <https://discuss.elastic.co/t/why-elasticsearch-defined-default-analyzer-doesnt-work/23540>\
**Category:** Elasticsearch\
**Created:** [May 4, 2015, 12:05pm UTC](https://discuss.elastic.co/t/why-elasticsearch-defined-default-analyzer-doesnt-work/23540 "2015-05-04T12:05:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhulin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zhulin/32/44934_2.png) [@zhulin](https://discuss.elastic.co/u/zhulin)\
**Post date:** [May 4, 2015, 12:05pm UTC](https://discuss.elastic.co/t/why-elasticsearch-defined-default-analyzer-doesnt-work/23540/1 "2015-05-04T12:05:46Z")

</div>

I put content in elasticsearch without define the index setting. It seems  
by default elasticsearch isn't using the default analyzer I defined in  
elasticsearch.yml.

index.analysis.analyzer.default.type: ik

If I request: [http://localhost:9200/useridx/\_search?q=Lin](http://localhost:9200/useridx/_search?q=Lin)

it doesn't using the default analyzer

_Could some one help me make the default analyzer ik when querying?_

--  
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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/7ab51e8c-cd1c-447e-8f1c-cd17d9f76e38%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7ab51e8c-cd1c-447e-8f1c-cd17d9f76e38%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 12:15am UTC](https://discuss.elastic.co/t/why-elasticsearch-defined-default-analyzer-doesnt-work/23540/2 "2017-07-06T00:15:52Z")

</div>


