Elastic effective mapping


(Bruno DARRAS) #1

Hi guys,

I've just done the shaspeare demo from the elastic web site but even with the "include_defaults=true" option I still got a very light description ! (see below)

Is there any way to get the full and complete mapping description including all details of analyzer really used for each analyzed field even if it is the default one ? (like maven is doing with the effective POM)

curl -XGET "http://localhost:9200/shakespeare/_mapping?include_defaults=true&pretty"

{
  "shakespeare" : {
    "mappings" : {
      "scene" : {
        "properties" : {
          "line_id" : {
            "type" : "integer"
          },
          "line_number" : {
            "type" : "string"
          },
          "play_name" : {
            "type" : "string",
            "index" : "not_analyzed"
          },
          "speaker" : {
            "type" : "string",
            "index" : "not_analyzed"
          },
          "speech_number" : {
            "type" : "integer"
          },
          "text_entry" : {
            "type" : "string"
          }
        }
      },

(system) #2