public function SearchApiProcessorInterface::preprocessIndexItems in Search API 7
Preprocess data items for indexing.
Typically, a preprocessor will execute its preprocessing (e.g. stemming, n-grams, word splitting, stripping stop words, etc.) only on the items' search_api_fulltext fields, if set. Other fields should usually be left untouched.
Parameters
array $items: An array of items to be preprocessed for indexing, formatted as specified by SearchApiServiceInterface::indexItems().
1 method overrides SearchApiProcessorInterface::preprocessIndexItems()
- SearchApiAbstractProcessor::preprocessIndexItems in includes/
processor.inc - Calls processField() for all appropriate fields.
File
- includes/
processor.inc, line 102 - Contains SearchApiProcessorInterface and SearchApiAbstractProcessor.
Class
- SearchApiProcessorInterface
- Interface representing a Search API pre- and/or post-processor.
Code
public function preprocessIndexItems(array &$items);