IndexerAction
class IndexerAction
Class IndexerAction
Properties
SearchController | $mod |
Methods
Resolves the attachment array into file paths
Returns the currently used Search Adapter
Process all relevant things for this search index entry (attachments, tags, etc.)
Applies available search.search_preprocessor hooks on the SearchIndexRecord
Mass Update to update a few search index attributes for many documents at once This command will not create new Index entries but only update existing ones
Details
at line 67
void
addToIndex(DocumentIndex $documentIndex)
Adds the passed DocumentIndex to the search index
at line 186
protected SearchIndexRecord
buildNormalizedAttachments(SearchIndexRecord $searchIndexRecord, int $depth = 5)
Resolves the attachment array into file paths
at line 163
protected SearchIndexRecord
findAndSetTags(SearchIndexRecord $searchIndexRecord)
Finds tags from tagging module and sets them.
at line 37
SearchAdapterInterface
getSearchAdapter()
Returns the currently used Search Adapter
at line 122
SearchIndexRecord
process(SearchIndexRecord $searchIndexRecord)
Process all relevant things for this search index entry (attachments, tags, etc.)
at line 144
protected SearchIndexRecord
processPreProcessorHooks(SearchIndexRecord $searchIndexRecord)
Applies available search.search_preprocessor hooks on the SearchIndexRecord
at line 101
mixed
removeFromIndex(DocumentIndex $documentIndex)
Removed the passed Document from the search index
at line 112
updateDocumentsByCallback(array $documentIds, callable $callback, $requiredFields = ['_id', 'meta_data'])
Mass Update to update a few search index attributes for many documents at once This command will not create new Index entries but only update existing ones