function hook_elasticsearch_connector_search_api_index_items in Elasticsearch Connector 7.2
Same name and namespace in other branches
- 7 modules/elasticsearch_connector_search_api/elasticsearch_connector_search_api.api.php \hook_elasticsearch_connector_search_api_index_items()
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.
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($index, &$params, $items) {
}