Documentation

ListSearchIndexes
in package

FinalYes

Operation for the listSearchIndexes command.

Tags
see
Collection::listSearchIndexes()
see
https://mongodb.com/docs/manual/reference/command/listSearchIndexes/

Table of Contents

Properties

$aggregate  : Aggregate
$aggregateOptions  : array<string|int, mixed>
$collectionName  : string
$databaseName  : string
$listSearchIndexesOptions  : array<string|int, mixed>

Methods

__construct()  : mixed
Constructs an aggregate command for listing Atlas Search indexes
execute()  : Iterator|Countable
Execute the operation.
createAggregate()  : Aggregate

Properties

$listSearchIndexesOptions

private array<string|int, mixed> $listSearchIndexesOptions

Methods

__construct()

Constructs an aggregate command for listing Atlas Search indexes

public __construct(string $databaseName, string $collectionName[, array<string|int, mixed> $options = [] ]) : mixed
Parameters
$databaseName : string

Database name

$collectionName : string

Collection name

$options : array<string|int, mixed> = []

Command options

execute()

Execute the operation.

public execute(Server $server) : Iterator|Countable
Parameters
$server : Server
Tags
throws
UnexpectedValueException

if the command response was malformed

throws
UnsupportedException

if collation or read concern is used and unsupported

throws
RuntimeException

for other driver errors (e.g. connection errors)

Return values
Iterator|Countable

        
On this page

Search results