You are here

interface SolrMultilingualBackendInterface in Search API Multilingual Solr Search 8

Same name and namespace in other branches
  1. 8.3 src/SolrMultilingualBackendInterface.php \Drupal\search_api_solr_multilingual\SolrMultilingualBackendInterface

Provides an interface defining a Multilingual Solr Search API Backend.

Hierarchy

Expanded class hierarchy of SolrMultilingualBackendInterface

All classes that implement SolrMultilingualBackendInterface

1 file declares its use of SolrMultilingualBackendInterface
AbstractSearchApiSolrMultilingualBackend.php in src/Plugin/search_api/backend/AbstractSearchApiSolrMultilingualBackend.php

File

src/SolrMultilingualBackendInterface.php, line 11

Namespace

Drupal\search_api_solr_multilingual
View source
interface SolrMultilingualBackendInterface extends SolrBackendInterface {

  /**
   * Indicates if the Solr server uses a managed schema.
   *
   * @return bool
   *   True if the Solr server uses a managed schema, false if the Solr server
   *   uses a classic schema.
   */
  public function isManagedSchema();

  /**
   * Gets schema language statistics for the multilingual Solr server.
   *
   * @return array
   *   Stats as associative array keyed by language IDs and a boolean value to
   *   indicate if corresponding field types are existing on the server's
   *   current schema.
   */
  public function getSchemaLanguageStatistics();

  /**
   * Indicates if the fallback for not supported languages is active.
   *
   * @return bool
   */
  public function hasLanguageUndefinedFallback();

  /**
   * Returns the targeted content domain of the server.
   *
   * @return string
   */
  public function getDomain();

}

Members

Namesort descending Modifiers Type Description Overrides
SolrMultilingualBackendInterface::getDomain public function Returns the targeted content domain of the server. 1
SolrMultilingualBackendInterface::getSchemaLanguageStatistics public function Gets schema language statistics for the multilingual Solr server. 1
SolrMultilingualBackendInterface::hasLanguageUndefinedFallback public function Indicates if the fallback for not supported languages is active. 1
SolrMultilingualBackendInterface::isManagedSchema public function Indicates if the Solr server uses a managed schema. 1