{"action":"opened","issue":{"url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/issues/859","labels_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/issues/859/labels{/name}","comments_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/issues/859/comments","events_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/issues/859/events","html_url":"https://github.com/FriendsOfSymfony/FOSElasticaBundle/issues/859","id":69115739,"number":859,"title":"parent definition","user":{"login":"webspin","id":1562151,"avatar_url":"https://avatars.githubusercontent.com/u/1562151?v=3","gravatar_id":"","url":"https://api.github.com/users/webspin","html_url":"https://github.com/webspin","followers_url":"https://api.github.com/users/webspin/followers","following_url":"https://api.github.com/users/webspin/following{/other_user}","gists_url":"https://api.github.com/users/webspin/gists{/gist_id}","starred_url":"https://api.github.com/users/webspin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webspin/subscriptions","organizations_url":"https://api.github.com/users/webspin/orgs","repos_url":"https://api.github.com/users/webspin/repos","events_url":"https://api.github.com/users/webspin/events{/privacy}","received_events_url":"https://api.github.com/users/webspin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-17T10:51:55Z","updated_at":"2015-04-17T10:51:55Z","closed_at":null,"body":"I try to implement a parent-child relationship, but this does not get indexed:\r\n\r\n```\r\nindexes:\r\n        app:\r\n            finder: ~\r\n            types:\r\n                auction:\r\n                    mappings:\r\n                        id: ~\r\n                        status: ~\r\n                        translations:\r\n                            type: nested\r\n                            properties:\r\n                                name: ~\r\n                                description: ~\r\n                    persistence:\r\n                        driver: orm\r\n                        model: Vavato\\ApiBundle\\Entity\\Auction\r\n                        provider: ~\r\n                        listener:\r\n                            immediate: ~\r\n                        finder: ~\r\n                lot:\r\n                    _parent:\r\n                        type: \"auction\"\r\n                        identifier: \"id\"\r\n                        property: \"auction\"\r\n                    mappings:\r\n                        number: ~\r\n                        enddate: { type: date }\r\n                        translations:\r\n                            type: nested\r\n                            properties:\r\n                                name: ~\r\n                                shortDescription: ~\r\n                                longDescription: ~\r\n                        subcategories:\r\n                            type: nested\r\n                            properties:\r\n                                translations:\r\n                                    type: nested\r\n                                    properties:\r\n                                        name: ~\r\n                    persistence:\r\n                        driver: orm\r\n                        model: Vavato\\ApiBundle\\Entity\\Lot\r\n                        provider: ~\r\n                        listener:\r\n                            immediate: ~\r\n                        finder: ~\r\n                        repository: Vavato\\ApiBundle\\SearchRepository\\LotRepository\r\n```\r\n\r\nWhat is wrong?"}}