Is there possible to specify "index": "not_analyzed" for fields with
type "object"?
In mapping for document I want to include full object for omitting
database queries:
{
"contact": {
"properties" : {
"serialized_object": {
"type": "object",
"index": "not_analyzed",
"store": "yes"
}
}
}
But when I requested mapping for the document from index I see then
all fields in "serialized_object" is in index "analyzed":
{
.....
          "serialized_object" : {
               "date_formats" : [
                  "dateOptionalTime", "yyyy/MM/dd HH:mm:ss||yyyy/MM/dd"
                ],
              "dynamic" : true,
              "enabled" : true,
              "path" : "full",
              "properties" : {
                      "account_id" : {
                         "boost" : 1.0,
                         "index" : "analyzed",
                         "index_name" : "account_id",
                         "omit_norms" : false,
                         "omit_term_freq_and_positions" : false,
                         "store" : "no",
                         "term_vector" : "no",
                         "type" : "string"
                    },
                    .....
              },
    ...
}
Andrew Degtiariov
DA-RIPE