'query' => 'foo',
'fields' => [
'name.' . self::SECOND_LANGUAGE . '.search',
'name.' . Defaults::LANGUAGE_SYSTEM . '.search',
],
'type' => 'phrase_prefix',
'slop' => 5,
],
],
];
yield 'SuffixFilter field' => [
new SuffixFilter('productNumber', 'foo'),
[
'wildcard' => [
'productNumber' => [
'value' => '*foo',
],
],
],
];
yield 'SuffixFilter translated field' => [
new SuffixFilter('name', 'foo'),
[