| | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
SolrClient::getById(PECL solr >= 2.2.0) SolrClient::getById — Get Document By Id. Utilizes Solr Realtime Get (RTG). 説明Get Document By Id. Utilizes Solr Realtime Get (RTG). パラメータ
例例1 SolrClient::getById() example
<?php上の例の出力は、 たとえば以下のようになります。
SolrObject Object
(
[doc] => SolrObject Object
(
[id] => GB18030TEST
[name] => Array
(
[0] => Test with some GB18030 encoded characters
)
[features] => Array
(
[0] => No accents here
[1] => ?是一个功能
[2] => This is a feature (translated)
[3] => ??文件是很有光?
[4] => This document is very shiny (translated)
)
[price] => Array
(
[0] => 0
)
[inStock] => Array
(
[0] => 1
)
[_version_] => 1510294336239042560
)
)
参考
|
|
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「SolrClient::getById - Get Document By Id. Utilizes Solr Realtime Get (RTG).」をGoogle検索
|