SilverStripe Search

IndexingHelper
in package
Uses Configurable

Table of Contents

Properties

$batch_length  : int
$cores  : int

Methods

getBatchLength()  : int
getCores()  : int
getGroupSettings()  : array<string|int, mixed>
Check the amount of groups and the total against the isGroup check.
setBatchLength()  : void
setCores()  : void

Properties

$batch_length

protected static int $batch_length

Length of each to-index batches

Methods

getBatchLength()

public static getBatchLength() : int
Return values
int

getGroupSettings()

Check the amount of groups and the total against the isGroup check.

public static getGroupSettings(bool $isGroup, string $class, int $group) : array<string|int, mixed>
Parameters
$isGroup : bool

Is it a specific group

$class : string

Class to check

$group : int

Current group to index

Return values
array<string|int, mixed>

setBatchLength()

public static setBatchLength(int $batch_length) : void
Parameters
$batch_length : int

setCores()

public static setCores(int $cores) : void
Parameters
$cores : int

        
On this page

Search results