(PECL solr >= 0.9.2)
SolrDocument::offsetUnset — Removes a field
public SolrDocument::offsetUnset(string $fieldName): void
Removes a field from the document.
fieldNameThe name of the field.
No return value.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/solrdocument.offsetunset.php