PHP » GoLang |
login |
register |
about
|
GoLang SolrClient::getById
request it (318)
GoLang replacement for PHP's SolrClient::getById
[edit | history]
SolrClient::getById(PECL solr >= 2.2.0) SolrClient::getById — Get Document By Id. Utilizes Solr Realtime Get (RTG) DescriptionGet Document By Id. Utilizes Solr Realtime Get (RTG). Parameters
Return ValuesExamplesExample #1 SolrClient::getById() example
<?php The above example will output something similar to: 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 ) ) See Also
|
more
Recently updated
more
Most requested
more
Last requests
|