@@ -144,7 +144,9 @@ |
||
| 144 | 144 | $entity = $useBatch ? $row[0] : $row; |
| 145 | 145 | if($this->getEntityToDocumentMapper()->isIndexable($entity)) { |
| 146 | 146 | $document = $this->getEntityToDocumentMapper()->createDocument($entityManager, $entity); |
| 147 | - if($document === false) continue; |
|
| 147 | + if($document === false) { |
|
| 148 | + continue; |
|
| 149 | + } |
|
| 148 | 150 | try { |
| 149 | 151 | $this->getSearchService($entityManager)->saveDocument($document); |
| 150 | 152 | $entitiesIndexed++; |