php / 8.1.5 / solrinputdocument.fieldexists.html /

SolrInputDocument::fieldExists

(PECL solr >= 0.9.2)

SolrInputDocument::fieldExistsChecks if a field exists

Description

public SolrInputDocument::fieldExists(string $fieldName): bool

Checks if a field exists

Parameters

fieldName

Name of the field.

Return Values

Returns true if the field was found and false if it was not found.

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/solrinputdocument.fieldexists.php