You are here

PhoneticTextDataType.php in Search API Solr 8

Same filename and directory in other branches
  1. 8.2 src/Plugin/search_api/data_type/PhoneticTextDataType.php

File

src/Plugin/search_api/data_type/PhoneticTextDataType.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 phonetic full text data type.
 *
 * @SearchApiDataType(
 *   id = "solr_text_phonetic",
 *   label = @Translation("Fulltext Phonetic"),
 *   description = @Translation("Full text field with phonetic matching."),
 *   fallback_type = "text",
 *   prefix = "phon"
 * )
 */
class PhoneticTextDataType extends TextDataType {

}

Classes

Namesort descending Description
PhoneticTextDataType Provides a phonetic full text data type.