VuFind API Documentation

DeleteDocument
in package
implements DocumentInterface

SOLR delete 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

$keys  : array<string|int, string>
Unique keys to delete.
$queries  : array<string|int, string>
Delete queries.
addKey()  : void
Add unique key to delete.
addKeys()  : void
Add array of unique keys to delete.
addQuery()  : void
Add delete query.
getContent()  : string
Return serialized representation.
getContentType()  : string
Return content MIME type.

Properties

$keys

Unique keys to delete.

protected array<string|int, string> $keys = []

$queries

Delete queries.

protected array<string|int, string> $queries = []

Methods

addKey()

Add unique key to delete.

public addKey(string $key) : void
Parameters
$key : string

Unique key

Return values
void

addKeys()

Add array of unique keys to delete.

public addKeys(array<string|int, string> $keys) : void
Parameters
$keys : array<string|int, string>

Unique keys

Return values
void

addQuery()

Add delete query.

public addQuery(string $query) : void
Parameters
$query : string

Delete query

Return values
void

getContent()

Return serialized representation.

public getContent() : string
Return values
string

getContentType()

Return content MIME type.

public getContentType() : string
Return values
string

Search results