public function SolrFieldTypeInterface::getSpellcheckFieldTypeAsJson in Search API Solr 8.3
Same name and namespace in other branches
- 4.x src/SolrFieldTypeInterface.php \Drupal\search_api_solr\SolrFieldTypeInterface::getSpellcheckFieldTypeAsJson()
Gets the Solr Spellcheck Field Type definition as JSON.
The JSON format is used to interact with a managed Solr schema.
Parameters
bool $pretty: Return pretty printed JSON.
Return value
string The Solr Spellcheck Field Type definition as JSON.
1 method overrides SolrFieldTypeInterface::getSpellcheckFieldTypeAsJson()
- SolrFieldType::getSpellcheckFieldTypeAsJson in src/
Entity/ SolrFieldType.php - Gets the Solr Spellcheck Field Type definition as JSON.
File
- src/
SolrFieldTypeInterface.php, line 120
Class
- SolrFieldTypeInterface
- Provides an interface defining a SolrFieldType entity.
Namespace
Drupal\search_api_solrCode
public function getSpellcheckFieldTypeAsJson(bool $pretty = FALSE);