Set Custom analyzer as default

Hello together,

i'm new on elasticsearch server and i want to set my server to use whitespace analyzer with lowercase as default analyzer for my index.

configuration (which is not working) looks like

{
"testindex" : {
"settings" : {
  "index" : {
    "number_of_shards" : "5",
    "provided_name" : "testindex",
    "creation_date" : "1548672010620",
    "analysis" : {
      "analyzer" : {
        "default" : {
          "type" : "whitespace",
          "analyzer" : "rebuilt_whitespace",
          "tokenizer" : "whitespace"
        },
        "rebuilt_whitespace" : {
          "filter" : [
            "lowercase"
          ],
          "tokenizer" : "whitespace"
        }
      }
    },
    "number_of_replicas" : "1",
    "uuid" : "Puq-_8YjQ_qY8Ko-UbGJdg",
    "version" : {
      "created" : "6050499"
    }
  }
}
}
}

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