function hook_apachesolr_index_document_build in Apache Solr Search 6.3
Same name and namespace in other branches
- 8 apachesolr.api.php \hook_apachesolr_index_document_build()
- 7 apachesolr.api.php \hook_apachesolr_index_document_build()
Build the documents before sending them to Solr. The function is the follow-up for apachesolr_update_index
Parameters
integer $document_id:
array $entity:
string $entity_type:
1 function implements hook_apachesolr_index_document_build()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- content_apachesolr_index_document_build in ./
apachesolr.module - Implements hook_apachesolr_index_document_build() on behalf of content module.
1 invocation of hook_apachesolr_index_document_build()
- apachesolr_convert_entity_to_documents in ./
apachesolr.index.inc - The given entity is converted to an array via the callback specified in the entity type's info array. The array that the entity is converted to is the model of the document sent to the Apache Solr server for indexing. This function allows…
File
- ./
apachesolr.api.php, line 373 - Exposed Hooks in 6.x-3.x:
Code
function hook_apachesolr_index_document_build(ApacheSolrDocument $document, $entity, $entity_type, $env_id) {
}