Dynamic templates

  • In-between option between dynamic mapping and strict mapping

  • Example:

    "mapping": {
      "audit-events": {
          "dynamic_templates": [
              {
                  "id": {
                      "match":   "*ZZIDZZ",
                      "mapping": {
                          "type": "string",
                          "index": "not_analyzed"
                      }
                  }
              },
     ...
    }

Last updated

Was this helpful?