编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « SolrDocument::getChildDocumentsCount
  • SolrDocument::getFieldCount »
  • PHP Manual
  • SolrDocument
  • Retrieves a field by name

SolrDocument::getField

(PECL solr >= 0.9.2)

SolrDocument::getField — Retrieves a field by name

说明

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

Retrieves a field by name.

参数

fieldName

Name of the field.

返回值

Returns a SolrDocumentField on success and FALSE on failure.

相关文章
php domnamednodemap retrieves a node specified by namephp domnamednodemap retrieves a node specified by local name and namespace uriphp filepro 函数 gets the name of a fieldphp ingres 函数 get the name of a field in a query resultphp msql 函数 alias of msql field namephp mssql 函数 get the name of a fieldphp postgresql 函数 returns the name or oid of the tables fieldphp sqlite 函数 returns the name of a particular fieldphp solrdocument adds a field to the documentphp solrdocument retrieves the current fieldphp solrdocument removes a field from the documentphp solrdocument retrieves a field by namephp solrdocument checks if a field existsphp solrdocument retrieves the current keyphp solrdocument moves the internal pointer to the next fieldphp solrdocument checks if a particular field existsphp solrdocument retrieves a fieldphp solrdocument adds a field to the documentphp solrinputdocument retrieves a field by namephp solrinputdocument retrieves the boost value for a particular field
关注编程学问公众号
编程学问网 湘ICP备20001732号