PHP ManualThe SolrClient class(No version information available, might only be in SVN) IntroductionUsed to send requests to a Solr server. Currently, cloning and serialization of SolrClient instances is not supported. Class synopsis
final
SolrClient
{
/* Constants */
/* Methods */
public SolrUpdateResponse addDocument
( SolrInputDocument
$doc
[, bool $allowDups = false
[, int $commitWithin = 0
]] )
public SolrUpdateResponse commit
([ int
$maxSegments = "1"
[, bool $waitFlush = true
[, bool $waitSearcher = true
]]] )
public SolrUpdateResponse optimize
([ int
}$maxSegments = "1"
[, bool $waitFlush = true
[, bool $waitSearcher = true
]]] )Predefined Constants
Table of Contents
![]() |
PHP-Index
New Tutorial entries
|