编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « SolrDocument::offsetExists
  • SolrDocument::offsetSet »
  • PHP Manual
  • SolrDocument
  • Retrieves a field

SolrDocument::offsetGet

(PECL solr >= 0.9.2)

SolrDocument::offsetGet — Retrieves a field

说明

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

This is used to retrieve the field when the object is treated as an array.

参数

fieldName

The name of the field.

返回值

Returns a SolrDocumentField object.

相关文章
php pdf 函数 fill the creator document info field deprecated php postgresql 函数 escape a literal for insertion into a text fieldphp postgresql 函数 returns the type id oid for the corresponding field numberphp solrdocument adds a field to the documentphp solrdocument retrieves the current fieldphp solrdocument removes a field from the documentphp solrdocument checks if a field exists in the documentphp solrdocument access the field as a propertyphp 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 solrdocument removes a fieldphp solrdocument adds another field to the documentphp solrdocument removes a field from the documentphp solrinputdocument retrieves a field by namephp solrinputdocument retrieves the boost value for a particular field
关注编程学问公众号
编程学问网 湘ICP备20001732号