You are here

Functions in Apache Solr Search 6.3

Primary tabs

Namesort descending Location Description Direct uses Strings
apachesolr_search_run_empty ./apachesolr_search.module Execute a search with zero results rows so as to populate facets. 2
apachesolr_search_schema ./apachesolr_search.install Implements hook_schema().
apachesolr_search_search ./apachesolr_search.module Implements of hook_search().
apachesolr_search_search_box_form_submit ./apachesolr_search.module Process a block search form submission. 1
apachesolr_search_search_execute ./apachesolr_search.module Helper function to retrieve results 1
apachesolr_search_search_page ./apachesolr_search.module The default search page
apachesolr_search_search_page_custom ./apachesolr_search.module Mimics apachesolr_search_search_page() but is used for custom search pages We prefer to keep them seperate so we are not dependent from core search when someone tries to disable the core search 2
apachesolr_search_search_results ./apachesolr_search.module 2
apachesolr_search_theme ./apachesolr_search.module Implements hook_theme().
apachesolr_search_theme_registry_alter ./apachesolr_search.module Implements hook_theme_registry_alter().
apachesolr_search_type_boost_form ./apachesolr_search.admin.inc Form builder function to set query type weights. 1
apachesolr_search_uninstall ./apachesolr_search.install Implements hook_uninstall().
apachesolr_search_update_6301 ./apachesolr_search.install Remove all apachesolr_search env variables for show_facets if it is zero
apachesolr_search_update_6302 ./apachesolr_search.install This function cleans up the old apachesolr tables. There is no magic upgrade pat. The old facet and MLT blocks will be gone
apachesolr_server_status ./apachesolr.module Checks if a specific Apache Solr server is available. 5
apachesolr_settings ./apachesolr.admin.inc Form builder for general settings used as a menu callback. 1
apachesolr_set_default_environment ./apachesolr.module Set the default environment and let other modules know about the change. 1
apachesolr_set_facetapi_breadcrumb ./apachesolr.module Sets breadcrumb trails for Facet API settings forms. 2
apachesolr_set_last_index_position ./apachesolr.module Sets last changed and last ID for an environment and entity type. 3
apachesolr_set_last_index_updated ./apachesolr.module Set the timestamp of the last index update 6
apachesolr_set_stats_message ./apachesolr.module Call drupal_set_message() with the text.
apachesolr_site_hash ./apachesolr.module Like $site_key in _update_refresh() - returns a site-specific hash. 6 2
apachesolr_static_response_cache ./apachesolr.module It is important to hold on to the Solr response object for the duration of the page request so that we can use it for things like building facet blocks. 10
apachesolr_status_page ./apachesolr.admin.inc Gets information about the fields already in solr index. 1
apachesolr_suppress_blocks ./apachesolr.module Semaphore that indicates whether Blocks should be suppressed regardless of whether a search has run. 3
apachesolr_taxonomy ./apachesolr.module Implements hook_taxonomy().
apachesolr_term_indexing_callback ./apachesolr.index.inc Callback that converts term field into an array 1
apachesolr_theme ./apachesolr.module Implements hook_theme().
apachesolr_uninstall ./apachesolr.install Implements hook_uninstall(). @todo : Remove the blocks with a query
apachesolr_update_6301 ./apachesolr.install Remove status from the key.
apachesolr_update_6302 ./apachesolr.install This function cleans up the old apachesolr tables. There is no magic upgrade pat. The old facet and MLT blocks will be gone
apachesolr_update_6303 ./apachesolr.install Leave a flag for 7.x updates so we have an upgrade path.
apachesolr_update_6304 ./apachesolr.install Turn global variables in environment specific ones.
apachesolr_user ./apachesolr.module Implements hook_user(). Mark nodes as needing re-indexing if the author name changes.
apachesolr_userreference_indexing_callback ./apachesolr.index.inc Indexing callback for the user_reference module by the references module 1
apachesolr_userreference_map_callback ./apachesolr.module 1
apachesolr_vocab_name ./apachesolr.index.inc Helper function - return a safe (PHP identifier) vocabulary name. 1
content_apachesolr_field_mappings ./apachesolr.module Implements hook_apachesolr_field_mappings() on behalf of content module.
content_apachesolr_index_document_build ./apachesolr.module Implements hook_apachesolr_index_document_build() on behalf of content module.
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. List your site's variables.
drush_apachesolr_solr_variable_set drush/apachesolr.drush.inc Command callback. Set a variable.
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:

Pages

Other projects