You are here

public function SolrDocumentDefinitionInterface::setIndexId in Search API Solr 4.x

Same name and namespace in other branches
  1. 8.3 src/TypedData/SolrDocumentDefinitionInterface.php \Drupal\search_api_solr\TypedData\SolrDocumentDefinitionInterface::setIndexId()

Sets the Search API Index ID.

Parameters

string $index_id: The Server ID to set.

Return value

$this

1 method overrides SolrDocumentDefinitionInterface::setIndexId()
SolrDocumentDefinition::setIndexId in src/TypedData/SolrDocumentDefinition.php
Sets the Search API Index ID.

File

src/TypedData/SolrDocumentDefinitionInterface.php, line 28

Class

SolrDocumentDefinitionInterface
Interface for typed data Solr document definitions.

Namespace

Drupal\search_api_solr\TypedData

Code

public function setIndexId(string $index_id);