34 if (!is_array($params[
'conf'])) {
38 $indexerObj = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\
TYPO3\CMS\IndexedSearch\Indexer::class);
39 $indexerObj->conf = $params[
'conf'];
42 if ($params[
'alturl']) {
43 $fI = pathinfo($params[
'document']);
44 $ext = strtolower($fI[
'extension']);
45 $indexerObj->indexRegularDocument($params[
'alturl'],
true, $params[
'document'], $ext);
47 $indexerObj->indexRegularDocument($params[
'document'],
true);
50 return [
'content' => []];