Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<SolrDocument::offsetSetSolrDocument::reset>
^SolrDocumentLast updated: Mon, 26 Oct 2026

SolrDocument::offsetUnset

(PECL solr >= 0.9.2)

SolrDocument::offsetUnset — Removes a field

Description

public function SolrDocument::offsetUnset(string $fieldName): void

Removes a field from the document.

Parameters

fieldName

The name of the field.

Return Values

No return value.


<SolrDocument::offsetSetSolrDocument::reset>
^SolrDocumentLast updated: Mon, 26 Oct 2026