update : 2015.11.03
php.shukuma.com검색:
|
SolrClient::commit(PECL solr >= 0.9.2) SolrClient::commit — Finalizes all add/deletes made to the index 설명
public SolrUpdateResponse SolrClient::commit
([ bool
$softCommit = false
[, bool $waitSearcher = true
[, bool $expungeDeletes = false
]]] )This method finalizes all add/deletes made to the index. 인수
반환값Returns a SolrUpdateResponse object on success or throws an exception on failure. 오류/예외Throws SolrClientException if the client had failed, or there was a connection issue. Throws SolrServerException if the Solr Server had failed to process the request. 변경점
주의Warning
PECL Solr >= 2.0 only supports Solr Server >= 4.0 참고
|