You are here

class SuggesterTextDataType in Search API Solr 4.x

Same name and namespace in other branches
  1. 8.3 src/Plugin/search_api/data_type/SuggesterTextDataType.php \Drupal\search_api_solr\Plugin\search_api\data_type\SuggesterTextDataType
  2. 8.2 src/Plugin/search_api/data_type/SuggesterTextDataType.php \Drupal\search_api_solr\Plugin\search_api\data_type\SuggesterTextDataType

Provides data type to feed the suggester component.

Plugin annotation


@SearchApiDataType(
  id = "solr_text_suggester",
  label = @Translation("Suggester"),
  description = @Translation("Full text field to feed the suggester component."),
  fallback_type = "text",
  prefix = "tw"
)

Hierarchy

Expanded class hierarchy of SuggesterTextDataType

File

src/Plugin/search_api/data_type/SuggesterTextDataType.php, line 16

Namespace

Drupal\search_api_solr\Plugin\search_api\data_type
View source
class SuggesterTextDataType extends WhiteSpaceTokensTextDataType {

}

Members