PHP Class eZ\Publish\Core\Search\Elasticsearch\Content\CriterionVisitor\FieldFilterBase

Inheritance: extends eZ\Publish\Core\Search\Elasticsearch\Content\CriterionVisitor
Show file Open project: ezsystems/ezpublish-kernel

Protected Methods

Method Description
getFieldFilter ( array $languageFilter ) : array | null Returns filter condition for the given $languageFilter.
getTodoFieldFilter ( array $languageFilter ) : array | null TODO: should really work something like this, but also needs update to the UrlAliasService etc.

Method Details

getFieldFilter() protected method

Filter is to be used by both query and filter visiting, as it should not impact scoring. Null will be returned if nothing is found to be filtered.
protected getFieldFilter ( array $languageFilter ) : array | null
$languageFilter array
return array | null

getTodoFieldFilter() protected method

TODO: should really work something like this, but also needs update to the UrlAliasService etc.
protected getTodoFieldFilter ( array $languageFilter ) : array | null
$languageFilter array
return array | null