You are here

public static function Utility::getIndexSolrSettings in Search API Solr 4.x

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

Returns the Solr settings for the given index.

Parameters

\Drupal\search_api\IndexInterface $index: The Search API index entity.

Return value

array An associative array of settings.

11 calls to Utility::getIndexSolrSettings()
SearchApiSolrBackend::createFilterQueries in src/Plugin/search_api/backend/SearchApiSolrBackend.php
Recursively transforms conditions into a flat array of Solr filter queries.
SearchApiSolrBackend::ensureLanguageCondition in src/Plugin/search_api/backend/SearchApiSolrBackend.php
Ensures the given Search API query has a language condition applied.
SearchApiSolrBackend::finalizeIndex in src/Plugin/search_api/backend/SearchApiSolrBackend.php
Apply any finalization commands to a solr index.
SearchApiSolrBackend::getCollectionEndpoint in src/Plugin/search_api/backend/SearchApiSolrBackend.php
Returns the endpoint to use for the index.
SearchApiSolrBackend::getIndexId in src/Plugin/search_api/backend/SearchApiSolrBackend.php
Prefixes an index ID as configured.

... See full list

File

src/Utility/Utility.php, line 1080

Class

Utility
Provides various helper functions for Solr backends.

Namespace

Drupal\search_api_solr\Utility

Code

public static function getIndexSolrSettings(IndexInterface $index) : array {
  return \search_api_solr_merge_default_index_third_party_settings($index
    ->getThirdPartySettings('search_api_solr'));
}