CommitDocument
in package
implements
DocumentInterface
SOLR commit document class.
Tags
Interfaces, Classes, Traits and Enums
- DocumentInterface
- Interface for Solr document classes
Table of Contents
- $commitWithin : int
- Value for commitWithin attribute
- __construct() : mixed
- Constructor.
- getContent() : string
- Return serialized representation.
- getContentType() : string
- Return content MIME type.
Properties
$commitWithin
Value for commitWithin attribute
protected
int
$commitWithin
Methods
__construct()
Constructor.
public
__construct([int $commitWithin = -1 ]) : mixed
Parameters
- $commitWithin : int = -1
-
commitWithin attribute value (-1 to omit)
Return values
mixed —getContent()
Return serialized representation.
public
getContent() : string
Return values
string —getContentType()
Return content MIME type.
public
getContentType() : string