Is it possible to make new property having default normalizer

Suppose I have a index having mapping setting as:

{
  "settings": {
    "index": {
      "number_of_shards": 3,
      "number_of_replicas": 1
    },
    "analysis": {
      "normalizer": {
        "lowercase_normalizer": {
          "type": "custom",
          "filter": [
            "lowercase"
          ]
        }
      }
    }
  },
  "mappings": {
    "dynamic_templates": [
      {
        "string_as_keywords": {
          "match_mapping_type": "string",
          "unmatch": "*Date",
          "mapping": {
            "type": "keyword"
          }
        }
      }
    ],
    "properties": {
      "property1": {
        "type": "keyword",
        "normalizer": "lowercase_normalizer"
      }
    }
  }
}

However, it means every fields need to use "normalizer": "lowercase_normalizer" if I want to use "lowercase_normalizer" normalizer, however, is it any possible that I don't need to append this normalizer, whenever I create a property, it already default having this normalizer?

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