You are here

WhiteSpaceTokensTextDataType.php in Search API Solr 4.x

File

src/Plugin/search_api/data_type/WhiteSpaceTokensTextDataType.php
View source
<?php

namespace Drupal\search_api_solr\Plugin\search_api\data_type;

use Drupal\search_api\Plugin\search_api\data_type\TextDataType;

/**
 * Provides a full text data type based on unmodified tokens.
 *
 * @SearchApiDataType(
 *   id = "solr_text_wstoken",
 *   label = @Translation("Fulltext Tokens"),
 *   description = @Translation("Full text field without any processing like stemming or stop word filters, just unmodified tokens from the text separated by white spaces."),
 *   fallback_type = "text",
 *   prefix = "tw"
 * )
 */
class WhiteSpaceTokensTextDataType extends TextDataType {

}

Classes

Namesort descending Description
WhiteSpaceTokensTextDataType Provides a full text data type based on unmodified tokens.