public function FuzzysearchSearch::preprocessIndexItems in Fuzzy Search 7
Calls processField() for all appropriate fields.
Overrides SearchApiAbstractProcessor::preprocessIndexItems
File
- includes/
processor_search.inc, line 94
Class
- FuzzysearchSearch
- Processor to set the index and search settings. Requires FuzzySearchService.
Code
public function preprocessIndexItems(array &$items) {
foreach ($items as &$item) {
foreach ($item as $name => &$field) {
if ($this
->testField($name, $field)) {
$this
->split($field);
}
}
}
}