Commit e950f1fd authored by Thomas Löffler's avatar Thomas Löffler

Add likes to solr index

parent 5843e185
Pipeline #6301 passed with stages
in 5 minutes and 7 seconds
......@@ -130,6 +130,9 @@ class TerIndexer extends \ApacheSolrForTypo3\Solr\IndexQueue\Indexer
$extensionIcon = $this->getExtensionIcon($itemRecord['ext_key'], $extension->getLastVersion()->getVersionString());
$document->setField('extensionIcon_stringS', $extensionIcon);
// add extension likes count
$document->setField('likes_intS', $extension->getLikes());
// add documentation link
/** @var \T3o\TerFe2\Service\DocumentationService $documentationService */
$documentationService = GeneralUtility::makeInstance(\T3o\TerFe2\Service\DocumentationService::class);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment