You are here

function DummySolr::addDocuments in Apache Solr Search 7

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

Add an array of Solr Documents to the index all at once

Parameters

array $documents Should be an array of ApacheSolrDocument instances:

boolean $allowDups:

boolean $overwritePending:

boolean $overwriteCommitted:

Return value

response objecte

Throws

Exception If an error occurs during the service call

Overrides DrupalApacheSolrServiceInterface::addDocuments

File

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

Class

DummySolr
@file Dummy object to simulate a Solr Service

Code

function addDocuments($documents, $overwrite = NULL, $commitWithin = NULL) {
}