This documentation is for a version that has reached its End Of Life. Such versions are no longer supported and don't receive security updates. Consider updating to a newer version.
<?phpdeclare(strict_types=1);namespaceApp\Query\Criterion\Elasticsearch;useIbexa\Contracts\Core\Repository\Values\Content\Query\Criterion;useIbexa\Contracts\Core\Repository\Values\Content\Query\Criterion\Operator;useIbexa\Contracts\Core\Repository\Values\Content\Query\Criterion\Operator\Specifications;finalclassCameraManufacturerCriterionextendsCriterion{/** * @param string|string[] $value One or more manufacturer names that must be matched. */publicfunction__construct($value){parent::__construct(null,null,$value);}publicfunctiongetSpecifications():array{return[newSpecifications(Operator::IN,Specifications::FORMAT_ARRAY,Specifications::TYPE_STRING),newSpecifications(Operator::EQ,Specifications::FORMAT_SINGLE,Specifications::TYPE_STRING),];}}
Search Criteria can be valid for both Content and Location search.
To choose the search type, use either content or location in the tag when registering the visitor as a service::