SolrDocument::offsetExists

(PECL solr >= 0.9.2)

SolrDocument::offsetExistsChecks if a particular field exists

说锟斤拷

public SolrDocument::offsetExists ( string $fieldName ) : bool

Checks if a particular field exists. This is used when the object is treated as an array.

锟斤拷锟斤拷

fieldName

The name of the field.

锟斤拷锟斤拷值

锟缴癸拷时锟斤拷锟斤拷 TRUE锟斤拷 锟斤拷锟斤拷锟斤拷失锟斤拷时锟斤拷锟斤拷 FALSE锟斤拷