PHP Класс Elastica\Query\Indices

Наследование: extends AbstractQuery
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( AbstractQuery $query, array $indices )
addIndex ( string | Index $index ) Adds one more index on which this query should be applied.
setIndices ( array $indices ) Set the indices on which this query should be applied.
setNoMatchQuery ( AbstractQuery $query ) Set the query to be applied to docs in indices which do not match those specified in the "indices" parameter.
setQuery ( AbstractQuery $query ) Set the query to be applied to docs in the specified indices.

Описание методов

__construct() публичный Метод

public __construct ( AbstractQuery $query, array $indices )
$query AbstractQuery Query which will be applied to docs in the specified indices
$indices array

addIndex() публичный Метод

Adds one more index on which this query should be applied.
public addIndex ( string | Index $index )
$index string | Elastica\Index

setIndices() публичный Метод

Set the indices on which this query should be applied.
public setIndices ( array $indices )
$indices array

setNoMatchQuery() публичный Метод

Set the query to be applied to docs in indices which do not match those specified in the "indices" parameter.
public setNoMatchQuery ( AbstractQuery $query )
$query AbstractQuery

setQuery() публичный Метод

Set the query to be applied to docs in the specified indices.
public setQuery ( AbstractQuery $query )
$query AbstractQuery