Cake\ElasticSearch\Query::postFilter PHP Method

postFilter() public method

This method can be used in the same way the where() method is used. Please refer to its documentation for more details.
See also: Cake\ElasticSearch\Query::where()
public postFilter ( array | callable | Elastica\Filter\AbstractFilter $conditions, boolean $overwrite = false )
$conditions array | callable | Elastica\Filter\AbstractFilter The list of conditions.
$overwrite boolean Whether or not to replace previous filters.
    public function postFilter($conditions, $overwrite = false)
    {
        return $this->_buildFilter('postFilter', $conditions, $overwrite);
    }