You are here

function apachesolr_search_search_execute in Apache Solr Search 7

Same name and namespace in other branches
  1. 8 apachesolr_search.module \apachesolr_search_search_execute()
  2. 6.3 apachesolr_search.module \apachesolr_search_search_execute()

Implements hook_search_execute().

Parameters

$keys: The keys that are available after the path that is defined in hook_search_info

$conditions: Conditions that are coming from apachesolr_search_conditions

1 call to apachesolr_search_search_execute()
apachesolr_drush_solr_search in drush/apachesolr.drush.inc
Search the solr index using Drush

File

./apachesolr_search.module, line 796
Provides a content search implementation for node content for use with the Apache Solr search application.

Code

function apachesolr_search_search_execute($keys = NULL, $conditions = NULL) {
  $search_page = apachesolr_search_page_load('core_search');
  $results = apachesolr_search_search_results($keys, $conditions, $search_page);
  return $results;
}