# Index settings: correct place for the analyzer section

**URL:** <https://discuss.elastic.co/t/index-settings-correct-place-for-the-analyzer-section/198295>\
**Category:** Elasticsearch\
**Created:** [September 5, 2019, 4:52pm UTC](https://discuss.elastic.co/t/index-settings-correct-place-for-the-analyzer-section/198295 "2019-09-05T16:52:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jetnet](https://avatars.discourse-cdn.com/v4/letter/j/a87d85/32.png) [@jetnet](https://discuss.elastic.co/u/jetnet)\
**Post date:** [September 5, 2019, 4:52pm UTC](https://discuss.elastic.co/t/index-settings-correct-place-for-the-analyzer-section/198295/1 "2019-09-05T16:52:51Z")

</div>

quick question - what is the correct place for the analysis configuration:

```auto
PUT my_index
{
  "settings": {
    "index" : {
      "analysis" : {
        "analyzer" : {

```

or

```auto
PUT my_index
{
  "settings": {
    "analysis": {
      "analyzer": {

```

both seems to be working, but what is the difference?  
Thanks a lot!

---

<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:** [October 3, 2019, 4:52pm UTC](https://discuss.elastic.co/t/index-settings-correct-place-for-the-analyzer-section/198295/2 "2019-10-03T16:52:57Z")

</div>

Closed on October 3, 2019, 4:52pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
