Meilisearch PHP | Documentation

Indexes extends Endpoint
in package

FinalYes

Table of Contents

Constants

PATH  : mixed = '/indexes'

Properties

$http  : Http

Methods

__construct()  : mixed
all()  : IndexesResults
allRaw()  : array{results: list, offset: int, limit: int, total: int}
create()  : Task
renameIndex()  : Task
Rename an index instead of swapping it.
swapIndexes()  : Task

Constants

PATH

protected mixed PATH = '/indexes'

Properties

Methods

allRaw()

public allRaw([array{offset?: int, limit?: int} $options = [] ]) : array{results: list, offset: int, limit: int, total: int}
Parameters
$options : array{offset?: int, limit?: int} = []
Return values
array{results: list, offset: int, limit: int, total: int}

create()

public create(string $uid[, array{primaryKey?: string|null} $options = [] ]) : Task
Parameters
$uid : string
$options : array{primaryKey?: string|null} = []
Tags
throws
Exception
Return values
Task
On this page

Search results