Documentation

QueryIndexManager
in package
implements QueryIndexManagerInterface

Interfaces, Classes, Traits and Enums

QueryIndexManagerInterface

Table of Contents

$core  : resource
buildDeferredIndexes()  : mixed
Build Deferred builds all indexes which are currently in deferred state.
createIndex()  : mixed
Creates a new index
createPrimaryIndex()  : mixed
Creates a new primary index
dropIndex()  : mixed
Drops an index
dropPrimaryIndex()  : mixed
Drops a primary index
getAllIndexes()  : array<string|int, mixed>
Fetches all indexes from the server.
watchIndexes()  : mixed
Watch polls indexes until they are online.

Properties

Methods

buildDeferredIndexes()

Build Deferred builds all indexes which are currently in deferred state.

public buildDeferredIndexes(string $bucketName[, BuildQueryIndexesOptions|null $options = null ]) : mixed
Parameters
$bucketName : string
$options : BuildQueryIndexesOptions|null = null
Tags
since
4.0.0
Return values
mixed

createIndex()

Creates a new index

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

        

Search results