You are here

protected function SearchApiSolrMultilingualBackend::createSolrDynamicField in Search API Multilingual Solr Search 8

Creates and deploys a missing dynamic Solr field if the server supports it.

Parameters

string $solr_field_name: The name of the new dynamic Solr field.

string $solr_field_type_name: The name of the Solr Field Type to be used for the new dynamic Solr field.

Overrides AbstractSearchApiSolrMultilingualBackend::createSolrDynamicField

File

src/Plugin/search_api/backend/SearchApiSolrMultilingualBackend.php, line 17

Class

SearchApiSolrMultilingualBackend
Plugin annotation @SearchApiBackend( id = "search_api_solr_multilingual", label = @Translation("Multilingual Solr"), description = @Translation("Index items using an Solr search server configured for multilingual content.") )

Namespace

Drupal\search_api_solr_multilingual\Plugin\search_api\backend

Code

protected function createSolrDynamicField($solr_field_name, $solr_field_type_name) {

  // @todo configurable kind of error message and log entry and status report
  return FALSE;
}