From c4cc199fbeaafbdfc21511778594d3e2c94c7a70 Mon Sep 17 00:00:00 2001 From: RobertPlant Date: Wed, 12 Jun 2013 10:34:42 +0200 Subject: [PATCH] Document object mapping implications for Doctrine ORM --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 475de02..7cc86c2 100644 --- a/README.md +++ b/README.md @@ -205,6 +205,12 @@ per type. date: { boost: 5 } content: ~ +#### Doctrine ORM and `object` mappings + +Objects operate in the same way as the nested results but they need to have associations set up in Doctrine ORM so that they can be referenced correctly when indexing. + +If an "Entity was not found" error occurs while indexing, a null association has been discovered in the database. A custom Doctrine query must be used to utilize left joins instead of the default inner join. + ### Populate the types php app/console fos:elastica:populate