(PECL solr >= 0.9.2)
SolrDocument::fieldExists — Checks if a field exists in the document
public SolrDocument::fieldExists(string $fieldName): bool
Checks if the requested field as a valid fieldname in the document.
fieldNameThe name of the field.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/solrdocument.fieldexists.php