@@ -140,7 +140,9 @@ |
||
140 | 140 | $entity = $row[0]; |
141 | 141 | if($this->getEntityToDocumentMapper()->isIndexable($entity)) { |
142 | 142 | $document = $this->getEntityToDocumentMapper()->createDocument($entityManager, $entity); |
143 | - if($document === false) continue; |
|
143 | + if($document === false) { |
|
144 | + continue; |
|
145 | + } |
|
144 | 146 | $this->getSearchService($entityManager)->saveDocument($document); |
145 | 147 | $entitiesIndexed++; |
146 | 148 | if($entitiesIndexed % 50 == 0) { |