Checks if a field exists


(PECL solr >= 0.9.2)

SolrInputDocument::fieldExistsChecks if a field exists

Описание

public bool SolrInputDocument::fieldExists ( string $fieldName )

Checks if a field exists

Список параметров

fieldName

Name of the field.

Возвращаемые значения

Returns TRUE if the field was found and FALSE if it was not found.