« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 33 for SolrInputDocument (0.001 sec.)
SolrInputDocument クラス | PHP 8.3 12240
SolrInputDocument クラス (PECL solr >= 0.9.2) はじめに このクラスは、Solr インデックスにサブミットされようとしている Solr 文書を表現します。 クラス概要 final class SolrInputDocument { /* 定数 */ const int SORT_DEFAULT = 1 ; const int SORT_A ... ; const int SORT_FIELD_BOOST_VALUE = 4 ; /* メソッド */ public function __construct () public function addChildDocument ( SolrInputDocument $child ): void public function addChildDocuments ( array &$docs ): void public function addField ( string $fieldName , str ... (): int | false public function getFieldNames (): array public function hasChildDocuments (): bool public function merge ( SolrInputDocument $sourceDoc , bool $overwrite = true ): bool public function reset (): bool public function setBoost ( float $documentBoost ... dBoost ( string $fieldName , float $fieldBoostValue ): bool public function sort ( int $sortOrderBy , int $sortDirection = SolrInputDocument::SORT_ASC ): bool public function toArray (): array public function __destruct () } 定義済み定数 SolrInputDocument クラス定 ...
https://man.mtool.work/php/8.3/class.solrinputdocument.html
SolrInputDocument::addChildDocument — Adds a child document for block indexing ... 10636
SolrInputDocument::addChildDocument (PECL solr >= 2.3.0) SolrInputDocument::addChildDocument — Adds a child document for block indexing 説明 public function SolrInputDocument::addChildDocument ( SolrInputDocument $child ): void Adds a child ... document to construct a document block with nested documents. パラメータ child A SolrInputDocument object. 戻り値 値を返しません。 エラー / 例外 Throws SolrIllegalArgumentException on failure. Throws SolrException on inte ... rnal failure. 例 例1 SolrInputDocument::addChildDocument() example <?php include "bootstrap.php" ; $options = array ( 'hostname' => SOLR_SERVER_HOSTNAME , 'login ... , 'port' => SOLR_SERVER_PORT , 'path' => SOLR_SERVER_STORE_PATH , ); $client = new SolrClient ( $options ); $product = new SolrInputDocument (); $product -> addField ( 'id' , 'P-BLACK' ); $product -> addField ( 'cat' , 'tshirt' ); $product -> addField ( 'cat' , ' ...
https://man.mtool.work/php/8.3/solrinputdocument.addchilddocument.html
SolrInputDocument::sort — Sorts the fields within the document | PHP 8.3 10604
SolrInputDocument::sort (PECL solr >= 0.9.2) SolrInputDocument::sort — Sorts the fields within the document 説明 public function SolrInputDocument::sort ( int $sortOrderBy , int $sortDirection = SolrInputDocument::SORT_ASC ): bool The field ... rection Fields can be sorted by boost values, field names and number of values. The $order_by parameter must be one of : * SolrInputDocument::SORT_FIELD_NAME * SolrInputDocument::SORT_FIELD_BOOST_VALUE * SolrInputDocument::SORT_FIELD_VALUE_COUNT The sort directio ... n can be one of : * SolrInputDocument::SORT_DEFAULT * SolrInputDocument::SORT_ASC * SolrInputDocument::SORT_DESC パラメータ sortOrderBy The sort criteria sortDi ...
https://man.mtool.work/php/8.3/solrinputdocument.sort.html
SolrInputDocument::getChildDocuments — Returns an array of child documents (Sol... 10556
SolrInputDocument::getChildDocuments (PECL solr >= 2.3.0) SolrInputDocument::getChildDocuments — Returns an array of child documents (SolrInputDocument) 説明 public function SolrInputDocument::getChildDocuments (): array Returns an array of ... child documents (SolrInputDocument) パラメータ この関数にはパラメータはありません。 戻り値 参考 SolrInputDocument::addChildDocument() - Adds a child document ... for block indexing SolrInputDocument::addChildDocuments() - Adds an array of child documents SolrInputDocument::hasChildDocuments() - Returns true if the docum ... ent has any child documents SolrInputDocument::getChildDocumentsCount() - Returns the number of child documents 他のマニュアルの関連ページ Linux JM set_tid_address(2) D ...
https://man.mtool.work/php/8.3/solrinputdocument.getchilddocuments.html
SolrInputDocument::addChildDocuments — Adds an array of child documents | PHP 8... 10524
SolrInputDocument::addChildDocuments (PECL solr >= 2.3.0) SolrInputDocument::addChildDocuments — Adds an array of child documents 説明 public function SolrInputDocument::addChildDocuments ( array &$docs ): void Adds an array of child docume ... nts to the current input document. パラメータ docs An array of SolrInputDocument objects. 戻り値 値を返しません。 エラー / 例外 Throws SolrIllegalArgumentException on failure. Throws SolrException on int ... ernal failure. 例 例1 SolrInputDocument::addChildDocuments() example <?php include "bootstrap.php" ; $options = array ( 'hostname' => SOLR_SERVER_HOSTNAME , 'logi ... , 'port' => SOLR_SERVER_PORT , 'path' => SOLR_SERVER_STORE_PATH , ); $client = new SolrClient ( $options ); $product = new SolrInputDocument (); $product -> addField ( 'id' , 'P-BLACK' ); $product -> addField ( 'cat' , 'tshirt' ); $product -> addField ( 'cat' , ' ...
https://man.mtool.work/php/8.3/solrinputdocument.addchilddocuments.html
SolrInputDocument::getChildDocumentsCount — Returns the number of child documen... 10203
SolrInputDocument::getChildDocumentsCount (PECL solr >= 2.3.0) SolrInputDocument::getChildDocumentsCount — Returns the number of child documents 説明 public function SolrInputDocument::getChildDocumentsCount (): int Returns the number of ch ... ild documents パラメータ この関数にはパラメータはありません。 戻り値 参考 SolrInputDocument::addChildDocument() - Adds a child document for block indexing SolrInputDocument::addChildDocuments() - Adds an array of c ... hild documents SolrInputDocument::hasChildDocuments() - Returns true if the document has any child documents SolrInputDocument::getChildDocuments() - Retur ... ns an array of child documents (SolrInputDocument) 他のマニュアルの関連ページ Linux JM set_tid_address(2) Linux JM fork(2) DuckDB Full Linux JM vfork(2) DuckDB Vectors Linu ...
https://man.mtool.work/php/8.3/solrinputdocument.getchilddocumentscount.html
SolrInputDocument::hasChildDocuments — Returns true if the document has any chi... 10171
SolrInputDocument::hasChildDocuments (PECL solr >= 2.3.0) SolrInputDocument::hasChildDocuments — Returns true if the document has any child documents 説明 public function SolrInputDocument::hasChildDocuments (): bool Checks whether the docu ... ment has any child documents パラメータ この関数にはパラメータはありません。 戻り値 参考 SolrInputDocument::addChildDocument() - Adds a child document for block indexing SolrInputDocument::addChildDocuments() - Adds an array of c ... hild documents SolrInputDocument::getChildDocuments() - Returns an array of child documents (SolrInputDocument) SolrInputDocument::getChildDocumentsCount() ...
https://man.mtool.work/php/8.3/solrinputdocument.haschilddocuments.html
Apache Solr | PHP 8.3 9385
Apache Solr はじめに Solr 拡張モジュールにより、PHP で Apache Solr サーバーと効果的に通信できます。 Solr 拡張モジュールは、PHP 開発者が Solr サーバーのインスタンスと効果的に通信できるようにする、とても速くて軽量で、豊富な機能を持つライブラリ ... ion — Solr 拡張モジュールの現行バージョンを返す SolrUtils::queryPhrase — Prepares a phrase from an unescaped lucene string SolrInputDocument — SolrInputDocument クラス SolrInputDocument::addChildDocument — Adds a child document for block indexing SolrInputDocumen ... t::addChildDocuments — Adds an array of child documents SolrInputDocument::addField — 文書にフィールドを追加 SolrInputDocument::clear — 入力した文書をリセット SolrInputDocument::__clone — SolrDocu ... ment のコピーを作成 SolrInputDocument::__construct — コンストラクタ SolrInputDocument::deleteField — 文書からフィールドを除去 SolrInputDocument::__destruct — デ ...
https://man.mtool.work/php/8.3/book.solr.html
SolrInputDocument::__clone — SolrDocument のコピーを作成 | PHP 8.3 8647
SolrInputDocument::__clone (PECL solr >= 0.9.2) SolrInputDocument::__clone — SolrDocument のコピーを作成 説明 public function SolrInputDocument::__clone (): void 直接呼出しされてはいけません。SolrInputDocument のディープコピー作成に使用され ... ます。 パラメータ この関数にはパラメータはありません。 戻り値 SolrInputDocument インスタンスを新規作成。 他のマニュアルの関連ページ Linux JM clone(2) ...
https://man.mtool.work/php/8.3/solrinputdocument.clone.html
SolrInputDocument::reset — SolrInputDocument::clear() | PHP 8.3 8486
SolrInputDocument::reset (PECL solr >= 0.9.2) SolrInputDocument::reset — SolrInputDocument::clear() のエイリアス 説明 public function SolrInputDocument::reset (): bool これは、SolrInputDocument::clear のエイリアスです パラメータ この関数には ...
https://man.mtool.work/php/8.3/solrinputdocument.reset.html
PREV 1 2 3 4 NEXT