{"action":"opened","issue":{"url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/issues/1174","repository_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle","labels_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/issues/1174/labels{/name}","comments_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/issues/1174/comments","events_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/issues/1174/events","html_url":"https://github.com/FriendsOfSymfony/FOSElasticaBundle/issues/1174","id":193775704,"number":1174,"title":"Loading wrong entity","user":{"login":"kironet","id":2453329,"avatar_url":"https://avatars.githubusercontent.com/u/2453329?v=3","gravatar_id":"","url":"https://api.github.com/users/kironet","html_url":"https://github.com/kironet","followers_url":"https://api.github.com/users/kironet/followers","following_url":"https://api.github.com/users/kironet/following{/other_user}","gists_url":"https://api.github.com/users/kironet/gists{/gist_id}","starred_url":"https://api.github.com/users/kironet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kironet/subscriptions","organizations_url":"https://api.github.com/users/kironet/orgs","repos_url":"https://api.github.com/users/kironet/repos","events_url":"https://api.github.com/users/kironet/events{/privacy}","received_events_url":"https://api.github.com/users/kironet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-06T13:44:44Z","updated_at":"2016-12-06T13:44:44Z","closed_at":null,"body":"Hey,\r\n\r\nI'm new in elasticasearch.\r\nI have 2 websites and when I populate, one of website is calling another one's entity. \r\n\r\nHere is config:\r\n\r\n```\r\nfos_elastica:\r\n    clients:\r\n        default: { host: localhost, port: 9200 }\r\n    indexes:\r\n        magazin:\r\n            client: default\r\n            types:\r\n                post:\r\n                    mappings:\r\n                        title: ~\r\n                    persistence:\r\n                        # the driver can be orm, mongodb, phpcr or propel\r\n                        # listener and finder are not supported by\r\n                        # propel and should be removed\r\n                        driver: orm\r\n                        model: Web\\AdminBundle\\Entity\\Post\r\n                        provider: ~\r\n                        listener: ~\r\n                        finder: ~\r\n```\r\n```\r\n\r\nfos_elastica:\r\n    clients:\r\n        default: { host: localhost, port: 9200 }\r\n    indexes:\r\n        app:\r\n            client: default\r\n            types:\r\n                ad:\r\n                    mappings:\r\n                        title: ~\r\n                    persistence:\r\n                        # the driver can be orm, mongodb, phpcr or propel\r\n                        # listener and finder are not supported by\r\n                        # propel and should be removed\r\n                        driver: orm\r\n                        model: Web\\AdminBundle\\Entity\\Ad\r\n                        provider: ~\r\n                        listener: ~\r\n                        finder: ~\r\n```\r\n\r\nError: \r\n\r\n> Resetting magazin\r\n>                                                             \r\n>   [ReflectionException]                                            \r\n>   Property Web\\AdminBundle\\Entity\\Category::$title does not exist\r\n\r\nHow to use elastica for multiple websites?\r\nThanks"}}
{"actor":{"display_login":"kironet"}}