You are here

constant IndexInterface::DATASOURCE_ID_SEPARATOR in Search API 8

String used to separate a datasource prefix from the rest of an identifier.

Internal field identifiers of datasource-dependent fields in the Search API consist of two parts: the ID of the datasource to which the field belongs; and the property path to the field, with properties separated by colons. The two parts are concatenated using this character as a separator to form the complete field identifier. (In the case of datasource-independent fields, the identifier doesn't contain the separator.)

Likewise, internal item IDs consist of the datasource ID and the item ID within that datasource, separated by this character.

File

src/IndexInterface.php, line 31

Class

IndexInterface
Defines the interface for index entities.

Namespace

Drupal\search_api

Code

const DATASOURCE_ID_SEPARATOR = '/';