| apachesolr_block | Implementation of hook_block(). |
| apachesolr_cck_fields | Invokes hook_apachesolr_cck_field_mappings to find out how to handle CCK fields. |
| apachesolr_clear_cache | A wrapper for cache_clear_all to be used as a submit handler on forms that
require clearing Luke cache etc. |
| apachesolr_clear_last_index | Clear a specific namespace's last changed and nid, or clear all. |
| apachesolr_comment | Implementation of hook_comment(). |
| apachesolr_cron | Implementation of hook_cron(). |
| apachesolr_current_query | Static getter/setter for the current query |
| apachesolr_date_determine_gap | Determine the best search gap to use for an arbitrary date range. |
| apachesolr_date_facet_block | Helper function for displaying a date facet block. |
| apachesolr_date_find_query_gap | Determine the gap in a date range query filter that we generated. |
| apachesolr_date_format_iso_by_gap | Format an ISO date string based on the gap used to generate it. |
| apachesolr_date_format_range | Format the beginning of a date range query filter that we
generated. |
| apachesolr_date_gap_drilldown | Return the next smaller date gap. |
| apachesolr_date_iso | Convert date from timestamp into ISO 8601 format.
http://lucene.apache.org/solr/api/org/apache/solr/schema/DateField.html |
| apachesolr_delete_node_from_index | |
| apachesolr_document_id | Generate a unique ID for an entity being indexed. |
| apachesolr_do_query | Execute a search based on a query object. |
| apachesolr_drupal_query | Factory function for query objects. |
| apachesolr_facetcount_form | Used by the 'configure' $op of hook_block so that modules can generically set
facet limits on their blocks. |
| apachesolr_facetcount_save | Used by the 'save' $op of hook_block so that modules can generically set
facet limits on their blocks. |
| apachesolr_facet_block | Helper function for displaying a facet block. |
| apachesolr_failure | Determines Apache Solr's behavior when searching causes an exception (e.g. Solr isn't available.)
Depending on the admin settings, possibly redirect to Drupal's core search. |
| apachesolr_field_name_map | Try to map a schema field name to a human-readable description. |
| apachesolr_flush_caches | Implementation of hook_flush_caches(). |
| apachesolr_form_block_admin_configure_alter | Implementation of hook_form_[form_id]_alter(). |
| apachesolr_form_block_admin_display_form_alter | Implementation of hook_form_[form_id]_alter |
| apachesolr_form_content_field_edit_form_alter | Implementation of hook_form_[form_id]_alter(). |
| apachesolr_form_content_field_overview_form_alter | Implementation of hook_form_[form_id]_alter(). |
| apachesolr_form_node_type_form_alter | Implementation of hook_form_[form_id]_alter(). |
| apachesolr_get_enabled_facets | Return the enabled facets from the specified block array. |
| apachesolr_get_last_index | Returns last changed and last nid for an indexing namespace. |
| apachesolr_get_nodes_to_index | Returns an array of rows from a query based on an indexing namespace. |
| apachesolr_get_solr | Factory method for solr singleton object. Structure allows for an arbitrary
number of solr objects to be used based on the host, port, path combination.
Get an instance like this:
$solr = apachesolr_get_solr(); |
| apachesolr_has_searched | Semaphore that indicates whether a search has been done. Blocks use this
later to decide whether they should load or not. |
| apachesolr_index_key | array('index_type' => 'integer',
'multiple' => TRUE,
'name' => 'fieldname',
), |
| apachesolr_index_nodes | Function to handle the indexing of nodes. |
| apachesolr_index_status | Helper function for modules implmenting hook_search's 'status' op. |
| apachesolr_index_updated | Helper function to keep track of when the index has been updated. |
| apachesolr_l | A replacement for l() |
| apachesolr_mark_node | Mark one node as needing re-indexing. |
| apachesolr_menu | Implementation of hook_menu(). |
| apachesolr_mlt_list_blocks | Returns a list of blocks. Used by hook_block |
| apachesolr_mlt_load_block | |
| apachesolr_mlt_suggestions | Performs a moreLikeThis query using the settings and retrieves documents. |
| apachesolr_modify_query | This hook allows modules to modify the query and params objects. |
| apachesolr_nodeapi | Implementation of hook_nodeapi(). |
| apachesolr_node_type | Implementation of hook_node_type(). |
| apachesolr_pager_init | Initialize a pager for theme('pager') without running an SQL query. |
| apachesolr_rebuild_index_table | Truncate and rebuild the apachesolr_search_node table, reset the apachesolr_index_last variable.
This is the most complete way to force reindexing, or to build the indexing table for the
first time. |
| apachesolr_save_enabled_facets | Save the enabled facets for all modules. |
| apachesolr_save_module_facets | Save the enabled facets for one module. |
| apachesolr_set_stats_message | Call drupal_set_message() with the text. |
| apachesolr_site_hash | Like $site_key in _update_refresh() - returns a site-specific hash. |
| apachesolr_static_response_cache | 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. |
| apachesolr_taxonomy | Implementation of hook_taxonomy(). |
| apachesolr_theme | Implementation of hook_theme(). |
| apachesolr_user | Implementation of hook_user(). |
| theme_apachesolr_facet_link | |
| theme_apachesolr_facet_list | |
| theme_apachesolr_mlt_recommendation_block | |
| theme_apachesolr_sort_link | |
| theme_apachesolr_sort_list | |
| theme_apachesolr_unclick_link | |
| _apachesolr_exclude_types | |
| _apachesolr_nodeapi_delete | Helper function for hook_nodeapi(). |
| _apachesolr_nodeapi_update | Helper function for hook_nodeapi(). |