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

Inheritance: extends FieldFilterBase
Exibir arquivo Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
visitQuery ( eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion, CriterionVisitorDispatcher $dispatcher, array $languageFilter ) : mixed Map field value to a proper Elasticsearch query representation.

Protected Methods

Method Description
getCondition ( eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion ) : array Returns nested condition common for filter and query contexts.

Method Details

getCondition() abstract protected method

Returns nested condition common for filter and query contexts.
abstract protected getCondition ( eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion ) : array
$criterion eZ\Publish\API\Repository\Values\Content\Query\Criterion
return array

visitQuery() public method

Map field value to a proper Elasticsearch query representation.
public visitQuery ( eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion, CriterionVisitorDispatcher $dispatcher, array $languageFilter ) : mixed
$criterion eZ\Publish\API\Repository\Values\Content\Query\Criterion
$dispatcher eZ\Publish\Core\Search\Elasticsearch\Content\CriterionVisitorDispatcher
$languageFilter array
return mixed