Hello,
the default Indexer is not working for my extension records. It does not return any records from the database for multiple reasons:
KeSearchIndexer.php Line 55:
$indexRepository->setOverridePageIds(GeneralUtility::intExplode(',', $indexerConfig['storagepid']));
The field name of the storagePid in the Indexer Config is named "sysfolder". So the line should be:
$indexRepository->setOverridePageIds(GeneralUtility::intExplode(',', $indexerConfig['sysfolder']));
Then Repository still won't return any records of my Extension. My records using Calendarize got the uniqueRegisterKey "TgmEvents". When calling the IndexRepository on line 56, the Respository has never been informed which records should be returned so I have to add the following line in the KeSearchIndexer.php before:
$indexRepository->setIndexTypes(array('TgmEvents'));
This should be configurable in the indexer config of course.
But then: Still no records. The function getDefaultConstraints of the Repository add's my record to the query with this line:
$constraints[] = $query->in('uniqueRegisterKey', $this->indexTypes);
For any reasons: This is not working. Heres where I had to stop my research. I only can say using "equals" instead of "in" solves the problem herer.
Greetings from Schwerin, Germany and thanks for the extensions.