| ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
SolrClient::addDocuments(PECL solr >= 0.9.2) SolrClient::addDocuments — Adds a collection of SolrInputDocument instances to the index 説明
public void SolrClient::addDocuments
( array
$docs
[, bool $overwrite = true
[, int $commitWithin = 0
]] )Adds a collection of documents to the index. パラメータ
返り値Returns a SolrUpdateResponse object 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. 例
例1 SolrClient::addDocuments() example
<?php 上の例の出力は、 たとえば以下のようになります。 SolrObject Object ( [responseHeader] => SolrObject Object ( [status] => 0 [QTime] => 2 ) ) 参考
|
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「SolrClient::addDocuments - Adds a collection of SolrInputDocument instances to the index」をGoogle検索
|