Bånder

Index extends AbstractIndex
in package
implements IndexInterface

Table of Contents

Interfaces

IndexInterface

Properties

$fieldDefinitions  : array<string|int, FieldDefinition>
$indexName  : string
$prefix  : string|null
$redis  : Redis
$stopWords  : array<string|int, mixed>|null

Methods

__construct()  : mixed
addField()  : self
buildQuery()  : QueryBuilder
create()  : void
drop()  : void
exists()  : bool
getIndexName()  : string
search()  : SearchResult
rawCommand()  : mixed

Properties

$prefix

protected string|null $prefix = null

$stopWords

protected array<string|int, mixed>|null $stopWords = null

Methods

__construct()

public __construct(Redis $redis, string $indexName) : mixed
Parameters
$redis : Redis
$indexName : string

create()

public create() : void

exists()

public exists() : bool
Return values
bool

getIndexName()

public getIndexName() : string
Return values
string

rawCommand()

protected rawCommand(string $command[, array<string|int, mixed> $arguments = [] ]) : mixed
Parameters
$command : string
$arguments : array<string|int, mixed> = []

        
On this page

Search results