Index settings: correct place for the analyzer section

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

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

or

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

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

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