|
@@ -142,7 +142,9 @@ |
|
|
block discarded – undo |
|
142
|
142
|
$entity = $useBatch ? $row[0] : $row; |
|
143
|
143
|
if($this->getEntityToDocumentMapper()->isIndexable($entity)) { |
|
144
|
144
|
$document = $this->getEntityToDocumentMapper()->createDocument($entityManager, $entity); |
|
145
|
|
- if($document === false) continue; |
|
|
145
|
+ if($document === false) { |
|
|
146
|
+ continue; |
|
|
147
|
+ } |
|
146
|
148
|
$this->getSearchService($entityManager)->saveDocument($document); |
|
147
|
149
|
$entitiesIndexed++; |
|
148
|
150
|
if($entitiesIndexed % 50 == 0) { |
Please login to merge, or discard this patch.