You are here

public function SolrFieldTypeInterface::setUnstemmedFieldTypeAsJson in Search API Solr 8.3

Same name and namespace in other branches
  1. 4.x src/SolrFieldTypeInterface.php \Drupal\search_api_solr\SolrFieldTypeInterface::setUnstemmedFieldTypeAsJson()

Sets the Solr Unstemmed Field Type definition as JSON.

Decodes the Solr Field Type definition encoded as JSON and stores an nested associative array internally. This method in useful to import a field type from an existing Solr server.

Parameters

string $unstemmed_field_type: The Solr Unstemmed Field Type definition as JSON, might be empty if it doesn't exist.

Return value

self Untemmed field type as json.

1 method overrides SolrFieldTypeInterface::setUnstemmedFieldTypeAsJson()
SolrFieldType::setUnstemmedFieldTypeAsJson in src/Entity/SolrFieldType.php
Sets the Solr Unstemmed Field Type definition as JSON.

File

src/SolrFieldTypeInterface.php, line 264

Class

SolrFieldTypeInterface
Provides an interface defining a SolrFieldType entity.

Namespace

Drupal\search_api_solr

Code

public function setUnstemmedFieldTypeAsJson($unstemmed_field_type);