$tag2 =
new TagEntity();
$tag2->
setId('tag-2'
);
$tag2->
setName('Tag Pink'
);
$tags =
new TagCollection([$tag1,
$tag2]);
yield 'analyze with tokenize' =>
[ [ 'maxPurchase' => 20,
'manufacturerNumber' => 'MANU_001',
'description' => self::
getLongTextDescription(),
'tags' =>
$tags,
'translated' =>
[ 'name' => 'Awesome product',
],
],
[ [ 'field' => 'maxPurchase',
'tokenize' => true,
'ranking' => 100,
],
[