Documentation

QueryIndexManager

Table of Contents

buildDeferredIndexes()  : mixed
createIndex()  : mixed
createPrimaryIndex()  : mixed
dropIndex()  : mixed
dropPrimaryIndex()  : mixed
getAllIndexes()  : array<string|int, mixed>
watchIndexes()  : mixed

Methods

buildDeferredIndexes()

public buildDeferredIndexes(string $bucketName) : mixed
Parameters
$bucketName : string
Return values
mixed

createIndex()

public createIndex(string $bucketName, string $indexName, array<string|int, mixed> $fields[, CreateQueryIndexOptions $options = null ]) : mixed
Parameters
$bucketName : string
$indexName : string
$fields : array<string|int, mixed>
$options : CreateQueryIndexOptions = null
Return values
mixed

getAllIndexes()

public getAllIndexes(string $bucketName) : array<string|int, mixed>
Parameters
$bucketName : string
Return values
array<string|int, mixed>

watchIndexes()

public watchIndexes(string $bucketName, array<string|int, mixed> $indexNames, int $timeout[, WatchQueryIndexesOptions $options = null ]) : mixed
Parameters
$bucketName : string
$indexNames : array<string|int, mixed>
$timeout : int
$options : WatchQueryIndexesOptions = null
Return values
mixed

Search results