class SolrIndexCheck implements EnvironmentCheck (View source)

Check the availability of all Solr indexes of given class.

If there are no indexes of given class found, the returned status will still be "OK".

Properties

protected null|string $indexClass

Methods

public
__construct(string $indexClass = null)

No description

public
array
check()

No description

Details

__construct(string $indexClass = null)

No description

Parameters

string $indexClass

Limit the index checks to the specified class and all its subclasses.

array check()

No description

Return Value

array

Result with 'status' and 'message' keys.

Status is EnvironmentCheck::ERROR, EnvironmentCheck::WARNING, or EnvironmentCheck::OK.