You are here

public function SolrFieldTypeInterface::getUnstemmedFieldTypeAsJson in Search API Solr 4.x

Same name and namespace in other branches
  1. 8.3 src/SolrFieldTypeInterface.php \Drupal\search_api_solr\SolrFieldTypeInterface::getUnstemmedFieldTypeAsJson()

Gets the Solr Unstemmed 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 Unstemmed Field Type definition as JSON.

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

File

src/SolrFieldTypeInterface.php, line 248

Class

SolrFieldTypeInterface
Provides an interface defining a SolrFieldType entity.

Namespace

Drupal\search_api_solr

Code

public function getUnstemmedFieldTypeAsJson(bool $pretty = FALSE);