class SpellcheckTextDataType in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 src/Plugin/search_api/data_type/SpellcheckTextDataType.php \Drupal\search_api_solr\Plugin\search_api\data_type\SpellcheckTextDataType
Provides data type to feed the suggester component.
Plugin annotation
@SearchApiDataType(
id = "solr_text_spellcheck",
label = @Translation("Spellcheck"),
description = @Translation("Full text field to feed the spellcheck component."),
fallback_type = "text",
prefix = "spellcheck"
)
Hierarchy
- class \Drupal\search_api_solr\Plugin\search_api\data_type\WhiteSpaceTokensTextDataType extends \Drupal\search_api\Plugin\search_api\data_type\TextDataType
- class \Drupal\search_api_solr\Plugin\search_api\data_type\SpellcheckTextDataType
Expanded class hierarchy of SpellcheckTextDataType
File
- src/
Plugin/ search_api/ data_type/ SpellcheckTextDataType.php, line 16
Namespace
Drupal\search_api_solr\Plugin\search_api\data_typeView source
class SpellcheckTextDataType extends WhiteSpaceTokensTextDataType {
}