I have a field of "Object" index type. It was initially created with index 
mapping with "enabled" : false. For example:


    "root_obj": {
    "properties": {
      "test_obj": {
      "type": "object",       
      "enabled": false          
      }
    }



Later now, I have the need to reset the enabled flag to true and index some 
inner objects. For example: I used the PUT mapping api to update the 
mapping to something like below:

   
 "root_obj": {
        "properties": {
          "test_obj": {
          "type": "object",       
          "enabled": true,
                "dynamic": false,
                "properties": {
         "geo_shape_obj" : {
         "type": "geo_shape",
           "tree": "quadtree",
           "precision": "10m"
        }
        }          
            }
        }


However, ES does not seems to be resetting the enabled flag. When I check 
the mapping using get mapping api, the "test_obj" still has enabled flag 
set to false. Also search api is not retrieving any results with the new 
indexed inner object "geo_shape_obj".

Has anyone else experienced this ? Can a field's enabled flag be reset to 
true ?
  
    

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/65b5e64d-d004-4c34-8c45-3af929d57a73%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to