You are here

Functions in Apache Solr Search 8

Primary tabs

Namesort descending Location Description Direct uses Strings
apachesolr_user_update ./apachesolr.module Implements hook_user_update().
apachesolr_vocab_name ./apachesolr.index.inc Helper function - return a safe (PHP identifier) vocabulary name. 1
date_apachesolr_field_mappings ./apachesolr.module Implements hook_apachesolr_field_mappings() on behalf of date module.
drush_apachesolr_solr_variable_delete drush/apachesolr.drush.inc Command callback. Delete a variable.
drush_apachesolr_solr_variable_get drush/apachesolr.drush.inc Command callback.
drush_apachesolr_solr_variable_set drush/apachesolr.drush.inc Command callback. Set a variable.
entityreference_apachesolr_field_mappings ./apachesolr.module Implements hook_apachesolr_field_mappings() on behalf of EntityReferences (entityreference)
field_apachesolr_field_mappings ./apachesolr.module Implements hook_apachesolr_field_mappings().
field_apachesolr_index_document_build ./apachesolr.module Implements hook_apachesolr_index_document_build().
hook_apachesolr_default_environment ./apachesolr.api.php Lets modules know when the default environment is changed.
hook_apachesolr_delete_by_query_alter ./apachesolr.api.php Allows a module to modify the delete query.
hook_apachesolr_entity_info_alter ./apachesolr.api.php Add information to index other entities. There are some modules in http://drupal.org that can give a good example of custom entity indexing such as apachesolr_user, apachesolr_term
hook_apachesolr_ENTITY_TYPE_exclude ./apachesolr.api.php This is invoked for each entity from the type of ENTITY_TYPE that is being inspected to be added to the index. if any module returns TRUE,  the entity is skipped for indexing.
hook_apachesolr_environment_delete ./apachesolr.api.php Respond to search environment deletion.
hook_apachesolr_exclude ./apachesolr.api.php This is invoked for each entity that is being inspected to be added to the index. if any module returns TRUE, the entity is skipped for indexing.
hook_apachesolr_field_mappings ./apachesolr.api.php Add index mappings for Field API types. The default mappings array handles just list fields and taxonomy term reference fields, such as:
hook_apachesolr_field_mappings_alter ./apachesolr.api.php Alter hook for apachesolr_field_mappings().
hook_apachesolr_field_name_map_alter ./apachesolr.api.php Assigns a readable name to your custom solr field
hook_apachesolr_index_documents_alter ./apachesolr.api.php Alter the prepared documents from one entity before sending them to Solr.
hook_apachesolr_index_document_build ./apachesolr.api.php Build the documents before sending them to Solr. The function is the follow-up for apachesolr_update_index
hook_apachesolr_index_document_build_ENTITY_TYPE ./apachesolr.api.php Build the documents before sending them to Solr.
hook_apachesolr_process_results ./apachesolr.api.php This is invoked by apachesolr_search.module for the whole resultset returned in a search.
hook_apachesolr_query_alter ./apachesolr.api.php Alter the query after it's prepared and cached.
hook_apachesolr_query_prepare ./apachesolr.api.php Prepare the query by adding parameters, sorts, etc.
hook_apachesolr_search_page_alter ./apachesolr.api.php Modify the build array for any search output build by Apache Solr This includes core and custom pages and makes it very easy to modify both of them at once
hook_apachesolr_search_result_alter ./apachesolr.api.php This is invoked by apachesolr_search.module for each document returned in a search. This has been introduced in 6.x-beta7 as a replacement for the call to HOOK_nodeapi().
hook_apachesolr_search_types_alter ./apachesolr.api.php Modify the search types as found in the search pages administration
node_reference_apachesolr_field_mappings ./apachesolr.module Implements hook_apachesolr_field_mappings() on behalf of References (node_reference).
theme_apachesolr_search_browse_blocks ./apachesolr_search.module Shows a groups of blocks for starting a search from a filter.
theme_apachesolr_search_mlt_recommendation_block ./apachesolr_search.module
theme_apachesolr_search_noresults ./apachesolr_search.module Brief message to display when no results match the query.
theme_apachesolr_search_snippets ./apachesolr_search.module Theme the highlighted snippet text for a search entry.
theme_apachesolr_search_suggestions ./apachesolr_search.module Default theme function for spelling suggestions.
theme_apachesolr_settings_title ./apachesolr.module Themes the title for settings pages.
theme_apachesolr_sort_link ./apachesolr.module
theme_apachesolr_sort_list ./apachesolr.module
user_reference_apachesolr_field_mappings ./apachesolr.module Implements hook_apachesolr_field_mappings() on behalf of References (user_reference).
_apachesolr_drush_environment_load_and_validate drush/apachesolr.drush.inc Load an environment from an id and validate the result. 4
_apachesolr_drush_variable_format drush/apachesolr.drush.inc Format a specific variable 1
_apachesolr_drush_variable_like drush/apachesolr.drush.inc Search for similar variable names. 3
_apachesolr_index_get_next_set_query ./apachesolr.index.inc Internal function to avoid duplicating logic that identifies entities still due to be indexed 2
_apachesolr_index_process_entity_get_document ./apachesolr.index.inc Returns a generic Solr document object for this entity. 1
_apachesolr_search_browse_form ./apachesolr_search.admin.inc Helper function for empty search configuration. 1
_apachesolr_tags_to_index ./apachesolr.index.inc 2

Pages

Other projects