class Solr4Service_Core extends SolrService_Core (View source)

Methods

public
commit($expungeDeletes = false, $waitFlush = null, $waitSearcher = true, $timeout = 3600)

Replace underlying commit function to remove waitFlush in 4.0+, since it's been deprecated and 4.4 throws errors if you pass it

public
addDocument(Apache_Solr_Document $document, $allowDups = false, $overwritePending = true, $overwriteCommitted = true, $commitWithin = 0)

No description

public
addDocuments($documents, $allowDups = false, $overwritePending = true, $overwriteCommitted = true, $commitWithin = 0)

Solr 4.0 compat http://wiki.apache.org/solr/UpdateXmlMessages#Optional_attributes_for_.22add.22 Remove allowDups, overwritePending and overwriteComitted

Details

commit($expungeDeletes = false, $waitFlush = null, $waitSearcher = true, $timeout = 3600)

Replace underlying commit function to remove waitFlush in 4.0+, since it's been deprecated and 4.4 throws errors if you pass it

Parameters

$expungeDeletes
$waitFlush
$waitSearcher
$timeout

addDocument(Apache_Solr_Document $document, $allowDups = false, $overwritePending = true, $overwriteCommitted = true, $commitWithin = 0)

No description

Parameters

Apache_Solr_Document $document
$allowDups
$overwritePending
$overwriteCommitted
$commitWithin

See also

Solr4Service_Core::addDocuments

addDocuments($documents, $allowDups = false, $overwritePending = true, $overwriteCommitted = true, $commitWithin = 0)

Solr 4.0 compat http://wiki.apache.org/solr/UpdateXmlMessages#Optional_attributes_for_.22add.22 Remove allowDups, overwritePending and overwriteComitted

Parameters

$documents
$allowDups
$overwritePending
$overwriteCommitted
$commitWithin