Cake\ElasticSearch\FilterBuilder::indices PHP 메소드

indices() 공개 메소드

### Example: {{{ $builder->indices( ['index1', 'index2'], $builder->term('user', 'jhon'), $builder->term('tag', 'wow') ); }}}
또한 보기: http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-indices-filter.html
public indices ( array $indices, Elastica\Filter\AbstractFilter $match, Elastica\Filter\AbstractFilter $noMatch ) : Elastica\Filter\Indices
$indices array The indices where to apply the filter.
$match Elastica\Filter\AbstractFilter Filter which will be applied to docs in the specified indices.
$noMatch Elastica\Filter\AbstractFilter Filter to apply to documents not present in the specified indices.
리턴 Elastica\Filter\Indices
    public function indices(array $indices, AbstractFilter $match, AbstractFilter $noMatch)
    {
        return (new Filter\Indices($match, $indices))->setNoMatchFilter($noMatch);
    }