UpdateDocument
in package
implements
DocumentInterface
SOLR update document class.
Tags
Interfaces, Classes, Traits and Enums
- DocumentInterface
- Interface for Solr document classes
Table of Contents
- $records : SplObjectStorage
- Records and index attributes.
- __construct() : mixed
- Constructor.
- addRecord() : void
- Add record.
- getContent() : string
- Return serialized representation.
- getContentType() : string
- Return content MIME type.
Properties
$records
Records and index attributes.
protected
SplObjectStorage
$records
Methods
__construct()
Constructor.
public
__construct() : mixed
Return values
mixed —addRecord()
Add record.
public
addRecord(SerializableRecordInterface $record[, array<string|int, mixed> $indexAttr = [] ]) : void
Parameters
- $record : SerializableRecordInterface
-
Record
- $indexAttr : array<string|int, mixed> = []
-
Index attributes
Return values
void —getContent()
Return serialized representation.
public
getContent() : string
Return values
string —getContentType()
Return content MIME type.
public
getContentType() : string