VuFind API Documentation

CommitDocument
in package
implements DocumentInterface

SOLR commit document class.

Tags
category

VuFind

author

David Maus maus@hab.de

author

Demian Katz demian.katz@villanova.edu

license

http://opensource.org/licenses/gpl-2.0.php GNU General Public License

link
https://vufind.org

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
Return values
string

Search results