Php/docs/solrinputdocument.getfield

提供:Dev Guides
< Php
移動先:案内検索

SolrInputDocument::getField

(PECL solr >= 0.9.2)

SolrInputDocument::getField名前でフィールドを取得


説明

public SolrInputDocument::getField ( string $fieldName ) : SolrDocumentField

文書内のフィールドを取得します。


パラメータ

fieldName
フィールド名


返り値

成功時には SolrDocumentField オブジェクト、失敗時には false を返します。