public function Tokenizer::defaultConfiguration in Search API 8
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides FieldsProcessorPluginBase::defaultConfiguration
File
- src/
Plugin/ search_api/ processor/ Tokenizer.php, line 46
Class
- Tokenizer
- Splits text into individual words for searching.
Namespace
Drupal\search_api\Plugin\search_api\processorCode
public function defaultConfiguration() {
$configuration = parent::defaultConfiguration();
$configuration += [
'ignored' => '._-',
'spaces' => '',
'overlap_cjk' => TRUE,
'minimum_word_size' => 3,
];
return $configuration;
}