Skip to content

Commit

Permalink
[BUGFIX] Remove not needed call to createDocument function (#991)
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastian Meyer <[email protected]>
  • Loading branch information
beatrycze-volk and sebastian-meyer committed Jul 21, 2023
1 parent 43ce528 commit f1451a4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Classes/Common/Indexer.php
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,6 @@ protected static function processLogical(Document $document, array $logicalUnit)
}
// Create new Solr document.
$updateQuery = self::$solr->service->createUpdate();
$solrDoc = $updateQuery->createDocument();
$solrDoc = self::getSolrDocument($updateQuery, $document, $logicalUnit);
if (MathUtility::canBeInterpretedAsInteger($logicalUnit['points'])) {
$solrDoc->setField('page', $logicalUnit['points']);
Expand Down

0 comments on commit f1451a4

Please sign in to comment.