Bånder

RuntimeConfiguration
in package

Table of Contents

Properties

$redis  : Redis

Methods

__construct()  : mixed
exportConfiguration()  : array<string|int, mixed>
getDefaultDialect()  : int
getForkGCCleanThreshold()  : int
getMaxExpansions()  : int
getMaxSearchResults()  : int
getMinPhoneticTermLength()  : int
getMinPrefix()  : int
getOption()  : string|int|bool
getStats()  : array<string|int, mixed>
getTimeoutInMilliseconds()  : int
isOnTimeoutPolicyFail()  : bool
isOnTimeoutPolicyReturn()  : bool
optimizeForLargeIndexes()  : void
resetOptionsToDefault()  : void
setDefaultDialect()  : void
setForkGCCleanThreshold()  : void
setMaxExpansions()  : bool
setMaxSearchResults()  : void
setMinPhoneticTermLength()  : bool
setMinPrefix()  : mixed
setOnTimeoutPolicyToFail()  : bool
setOnTimeoutPolicyToReturn()  : bool
setOption()  : bool
setQueryDialect()  : bool
setSearchTimeout()  : bool
setTimeoutInMilliseconds()  : mixed
convertRawResponseToInt()  : int
convertRawResponseToString()  : string
rawCommand()  : mixed

Properties

Methods

exportConfiguration()

public exportConfiguration() : array<string|int, mixed>
Return values
array<string|int, mixed>

getOption()

public getOption(string $name) : string|int|bool
Parameters
$name : string
Return values
string|int|bool

getStats()

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

optimizeForLargeIndexes()

public optimizeForLargeIndexes([int $maxDocTableSize = 1000000 ][, int $threadPoolSize = 4 ]) : void
Parameters
$maxDocTableSize : int = 1000000
$threadPoolSize : int = 4

setDefaultDialect()

public setDefaultDialect(int $value) : void
Parameters
$value : int

setForkGCCleanThreshold()

public setForkGCCleanThreshold(int $value) : void
Parameters
$value : int

setMaxExpansions()

public setMaxExpansions([int $value = 200 ]) : bool
Parameters
$value : int = 200
Return values
bool

setMaxSearchResults()

public setMaxSearchResults(int $value) : void
Parameters
$value : int

setMinPhoneticTermLength()

public setMinPhoneticTermLength([int $value = 3 ]) : bool
Parameters
$value : int = 3
Return values
bool

setMinPrefix()

public setMinPrefix([int $value = 2 ]) : mixed
Parameters
$value : int = 2

setOnTimeoutPolicyToReturn()

public setOnTimeoutPolicyToReturn() : bool
Return values
bool

setOption()

public setOption(string $name, string|int|bool $value) : bool
Parameters
$name : string
$value : string|int|bool
Return values
bool

setQueryDialect()

public setQueryDialect(int $dialectId) : bool
Parameters
$dialectId : int
Return values
bool

setSearchTimeout()

public setSearchTimeout([int $milliseconds = 500 ]) : bool
Parameters
$milliseconds : int = 500
Return values
bool

setTimeoutInMilliseconds()

public setTimeoutInMilliseconds([int $value = 500 ]) : mixed
Parameters
$value : int = 500

convertRawResponseToInt()

protected convertRawResponseToInt(mixed $rawResponse) : int
Parameters
$rawResponse : mixed
Return values
int

convertRawResponseToString()

protected convertRawResponseToString(array<string|int, mixed> $rawResponse) : string
Parameters
$rawResponse : array<string|int, mixed>
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