You are here

function DummySolr::makeServletRequest in Apache Solr Search 6.3

Same name and namespace in other branches
  1. 8 tests/Dummy_Solr.php \DummySolr::makeServletRequest()
  2. 7 tests/Dummy_Solr.php \DummySolr::makeServletRequest()

Make a request to a servlet (a path) that's not a standard path.

@thows Exception

Parameters

string $servlet: A path to be added to the base Solr path. e.g. 'extract/tika'

array $params: Any request parameters when constructing the URL.

array $options: @see drupal_http_request() $options.

Return value

response object

Overrides DrupalApacheSolrServiceInterface::makeServletRequest

File

tests/Dummy_Solr.php, line 320
Dummy object to simulate a Solr Service

Class

DummySolr
@file Dummy object to simulate a Solr Service

Code

function makeServletRequest($servlet, $params = array(), $options = array()) {
}