function hook_elasticsearch_connector_search_api_index_items_alter in Elasticsearch Connector 7.5
Lets modules alter the items (documents) that will be send to Elasticsearch server for indexing.
Parameters
object $index: The Search API index object.
array $params: The params that are going to be send to the Elasticsearch server.
array $items: The original items used to build the params variable.
1 invocation of hook_elasticsearch_connector_search_api_index_items_alter()
- SearchApiElasticsearchConnector::indexItems in modules/
elasticsearch_connector_search_api/ service.inc - Overrides indexItems().
File
- modules/
elasticsearch_connector_search_api/ elasticsearch_connector_search_api.api.php, line 56 - Hooks provided by the Elasticsearch Connector Search API module.
Code
function hook_elasticsearch_connector_search_api_index_items_alter($index, &$params, $items) {
}