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

SolrDocument::offsetUnset

(PECL solr >= 0.9.2)

SolrDocument::offsetUnset — Removes a field

说明

public SolrDocument::offsetUnset ( string $fieldName ) : void

Removes a field from the document.

参数

fieldName

The name of the field.

返回值

No return value.

相关文章
php solrdismaxquery removes phrase bigram field pf2 parameter php solrdismaxquery removes a boost query partial by field name bq php solrdismaxquery removes a phrase field pf parameter php solrdismaxquery removes a query field qf parameter php solrdismaxquery removes a trigram phrase field pf3 parameter php solrdismaxquery removes a field from the user fields parameter uf php solrdocument adds a field to the documentphp 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 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 removes a field from the documentphp solrquery removes a field from the list of fieldsphp solrquery removes one of the stats.field parameters
关注编程学问公众号
编程学问网 湘ICP备20001732号