public function SolrFieldTypeInterface::setSpellcheckFieldType in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 src/SolrFieldTypeInterface.php \Drupal\search_api_solr\SolrFieldTypeInterface::setSpellcheckFieldType()
Sets the Solr Spellcheck Field Type definition as nested associative array.
Parameters
array $spellcheck_field_type: The Solr SpellcheckField Type definition as nested associative array.
Return value
self Spellcheck field type.
1 method overrides SolrFieldTypeInterface::setSpellcheckFieldType()
- SolrFieldType::setSpellcheckFieldType in src/
Entity/ SolrFieldType.php - Sets the Solr Spellcheck Field Type definition as nested associative array.
File
- src/
SolrFieldTypeInterface.php, line 107
Class
- SolrFieldTypeInterface
- Provides an interface defining a SolrFieldType entity.
Namespace
Drupal\search_api_solrCode
public function setSpellcheckFieldType(array $spellcheck_field_type);