Nextcloud PHP API (master)

IIndexService

Interface IIndexService

Tags
since
15.0.0

Table of Contents

Methods

createIndex()  : IIndex
Create an Index
getIndex()  : IIndex
Retrieve an Index from the database, based on the Id of the Provider and the Id of the Document
updateIndexes()  : mixed
Update an array of Index.
updateIndexesStatus()  : mixed
Update the status of an array of Index. status is a bit flag, setting $reset to true will reset the status to the value defined in the parameter.
updateIndexStatus()  : mixed
Update the status of an Index. status is a bit flag, setting $reset to true will reset the status to the value defined in the parameter.

Methods

createIndex()

Create an Index

public createIndex(string $providerId, string $documentId, string $userId, int $status) : IIndex
Parameters
$providerId : string
$documentId : string
$userId : string
$status : int
Tags
since
15.0.1
Return values
IIndex

getIndex()

Retrieve an Index from the database, based on the Id of the Provider and the Id of the Document

public getIndex(string $providerId, string $documentId) : IIndex
Parameters
$providerId : string
$documentId : string
Tags
since
15.0.0
Return values
IIndex

updateIndexes()

Update an array of Index.

public updateIndexes(array<string|int, mixed> $indexes) : mixed
Parameters
$indexes : array<string|int, mixed>
Tags
since
15.0.0

updateIndexesStatus()

Update the status of an array of Index. status is a bit flag, setting $reset to true will reset the status to the value defined in the parameter.

public updateIndexesStatus(string $providerId, array<string|int, mixed> $documentIds, int $status[, bool $reset = false ]) : mixed
Parameters
$providerId : string
$documentIds : array<string|int, mixed>
$status : int
$reset : bool = false
Tags
since
15.0.0

updateIndexStatus()

Update the status of an Index. status is a bit flag, setting $reset to true will reset the status to the value defined in the parameter.

public updateIndexStatus(string $providerId, string $documentId, int $status[, bool $reset = false ]) : mixed
Parameters
$providerId : string
$documentId : string
$status : int
$reset : bool = false
Tags
since
15.0.0

        
On this page

Search results