You are here

class SearchApiSolrMultilingualBackend in Search API Multilingual Solr Search 8

Same name and namespace in other branches
  1. 8.3 src/Plugin/search_api/backend/SearchApiSolrMultilingualBackend.php \Drupal\search_api_solr_multilingual\Plugin\search_api\backend\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.")
)

Hierarchy

Expanded class hierarchy of SearchApiSolrMultilingualBackend

File

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

Namespace

Drupal\search_api_solr_multilingual\Plugin\search_api\backend
View source
class SearchApiSolrMultilingualBackend extends AbstractSearchApiSolrMultilingualBackend {

  /**
   * {@inheritdoc}
   */
  protected function createSolrDynamicField($solr_field_name, $solr_field_type_name) {

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

  /**
   * {@inheritdoc}
   */
  protected function createSolrMultilingualFieldType($solr_field_type_name) {

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

}

Members

Namesort descending Modifiers Type Description Overrides
AbstractSearchApiSolrMultilingualBackend::alterSearchApiQuery protected function Adjusts the language filter before converting the query into a Solr query.
AbstractSearchApiSolrMultilingualBackend::alterSolrDocuments protected function Replaces language unspecific fulltext fields by language specific ones.
AbstractSearchApiSolrMultilingualBackend::alterSolrResponseBody protected function @inheritdoc
AbstractSearchApiSolrMultilingualBackend::buildConfigurationForm public function
AbstractSearchApiSolrMultilingualBackend::getAutocompleteFields protected function
AbstractSearchApiSolrMultilingualBackend::getDomain public function Returns the targeted content domain of the server. Overrides SolrMultilingualBackendInterface::getDomain
AbstractSearchApiSolrMultilingualBackend::getFilterQueries protected function
AbstractSearchApiSolrMultilingualBackend::getLanguageSpecificSolrFieldNames protected function Gets a language-specific mapping from Drupal to Solr field names.
AbstractSearchApiSolrMultilingualBackend::getSchemaLanguageStatistics public function Gets schema language statistics for the multilingual Solr server. Overrides SolrMultilingualBackendInterface::getSchemaLanguageStatistics
AbstractSearchApiSolrMultilingualBackend::hasLanguageUndefinedFallback public function Indicates if the fallback for not supported languages is active. Overrides SolrMultilingualBackendInterface::hasLanguageUndefinedFallback
AbstractSearchApiSolrMultilingualBackend::isManagedSchema public function Indicates if the Solr server uses a managed schema. Overrides SolrMultilingualBackendInterface::isManagedSchema 1
AbstractSearchApiSolrMultilingualBackend::isPartOfSchema protected function Indicates if an 'element' is part of the Solr server's schema.
AbstractSearchApiSolrMultilingualBackend::postQuery protected function
AbstractSearchApiSolrMultilingualBackend::preQuery protected function Modify the query before it is sent to solr.
AbstractSearchApiSolrMultilingualBackend::setFacets protected function
AbstractSearchApiSolrMultilingualBackend::submitConfigurationForm public function
AbstractSearchApiSolrMultilingualBackend::validateConfigurationForm public function
AbstractSearchApiSolrMultilingualBackend::viewSettings public function
SearchApiSolrMultilingualBackend::createSolrDynamicField protected function Creates and deploys a missing dynamic Solr field if the server supports it. Overrides AbstractSearchApiSolrMultilingualBackend::createSolrDynamicField
SearchApiSolrMultilingualBackend::createSolrMultilingualFieldType protected function Creates and deploys a missing Solr Field Type if the server supports it. Overrides AbstractSearchApiSolrMultilingualBackend::createSolrMultilingualFieldType