You are here

function DrupalApacheSolrServiceInterface::search in Apache Solr Search 8

Same name and namespace in other branches
  1. 6.3 apachesolr.interface.inc \DrupalApacheSolrServiceInterface::search()
  2. 7 apachesolr.interface.inc \DrupalApacheSolrServiceInterface::search()

Simple Search interface

Parameters

string $query The raw query string:

array $params key / value pairs for other query parameters (see Solr documentation), use arrays for parameter keys used more than once (e.g. facet.field):

Return value

response object

Throws

Exception If an error occurs during the service call

2 methods override DrupalApacheSolrServiceInterface::search()
DrupalApacheSolrService::search in ./Drupal_Apache_Solr_Service.php
Simple Search interface
DummySolr::search in tests/Dummy_Solr.php
Simple Search interface

File

./apachesolr.interface.inc, line 533

Class

DrupalApacheSolrServiceInterface
The interface for all 'Service' objects.

Code

function search($query = '', array $params = array(), $method = 'GET');