Reference
C
Class

ApiPlatform\Elasticsearch\Filter\MatchFilter

See also

Properties

iriConverter

ApiPlatform\Api\IriConverterInterface $iriConverter
ApiPlatform\Api\IriConverterInterface $iriConverter

propertyAccessor

Symfony\Component\PropertyAccess\PropertyAccessorInterface $propertyAccessor
Symfony\Component\PropertyAccess\PropertyAccessorInterface $propertyAccessor

propertyNameCollectionFactory

ApiPlatform\Metadata\Property\Factory\PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory
ApiPlatform\Metadata\Property\Factory\PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory

nameConverter

Symfony\Component\Serializer\NameConverter\NameConverterInterface $nameConverter
Symfony\Component\Serializer\NameConverter\NameConverterInterface $nameConverter

properties

array $properties
array $properties

Methods

getQuery

Gets the Elasticsearch query corresponding to the current search filter.

protected getQuery(string $property, array $values, null|string $nestedPath): array
protected getQuery(string $property, array $values, null|string $nestedPath): array

Parameters

propertystring
valuesarray
nestedPathstring

Returns

array

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop