# \_parent missing during mapping

**URL:** https://discuss.elastic.co/t/-parent-missing-during-mapping/16619
**Category:** Elasticsearch
**Created:** [March 26, 2014, 4:39pm UTC](https://discuss.elastic.co/t/-parent-missing-during-mapping/16619 "2014-03-26T16:39:07Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![kayngee](https://avatars.discourse-cdn.com/v4/letter/k/43a26b/32.png) [@kayngee](https://discuss.elastic.co/u/kayngee)
#### Post date: [March 26, 2014, 4:39pm UTC](https://discuss.elastic.co/t/-parent-missing-during-mapping/16619/1 "2014-03-26T16:39:07Z")

</div>

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](mailto: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](https://groups.google.com/d/msgid/elasticsearch/a92decd4-2950-4cc3-bc06-7f1c72278d8c%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 6, 2017, 1:40am UTC](https://discuss.elastic.co/t/-parent-missing-during-mapping/16619/2 "2017-07-06T01:40:29Z")

</div>


