_parent missing during mapping


(kayngee) #1

Hi,

I'm trying to add a _ parent with the following mappings but for some
reason the _parent field gets ignored so when I go to insert a new object
in Elastic search I get an exception that no parent field was specified
anyone knows why this is happening?

Regards
Shawn

"elasticsearch_tests_utilityobjects_searchableentity": {
"properties": {

...

        },
      "_all": {
          "enabled": true
      }
  },
  "elasticsearch_tests_utilityobjects_zeepextag": {
      "properties": {
          "UID": {
              "type": "long"
          },
          "Type": {
              "type": "integer"
          },
          "Tag": {
              "fields": {
                  "Tag": {
                      "index_options": "offsets",
                      "type": "string",
                      "store": "yes"
                  }
              },
              "type": "multi_field"
          }
      },
      "_parent": {
          "type": "search_tests_utilityobjects_searchableentity"
      },
      "_all": {
          "enabled": 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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/a92decd4-2950-4cc3-bc06-7f1c72278d8c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #2