public function SolrFieldTypeInterface::getUnstemmedFieldTypeAsXml in Search API Solr 8.3
Same name and namespace in other branches
- 4.x src/SolrFieldTypeInterface.php \Drupal\search_api_solr\SolrFieldTypeInterface::getUnstemmedFieldTypeAsXml()
Gets the Solr Unstemmed Field Type definition as XML fragment.
The XML format is used as part of classic Solr schema.
Parameters
bool $add_comment: Wether to add a comment to the XML or not to explain the purpose of this Solr Field Type.
Return value
string The Solr Unstemmed Field Type definition as XML, might be empty if it doesn't exist.
1 method overrides SolrFieldTypeInterface::getUnstemmedFieldTypeAsXml()
- SolrFieldType::getUnstemmedFieldTypeAsXml in src/
Entity/ SolrFieldType.php - Gets the Solr Unstemmed Field Type definition as XML fragment.
File
- src/
SolrFieldTypeInterface.php, line 279
Class
- SolrFieldTypeInterface
- Provides an interface defining a SolrFieldType entity.
Namespace
Drupal\search_api_solrCode
public function getUnstemmedFieldTypeAsXml($add_comment = TRUE);