'UPDATE product_search_config_field SET ranking = ? WHERE product_search_config_id = (SELECT id FROM product_search_config WHERE language_id = ?) and field = ?',
[$value, Uuid::
fromHexToBytes(Defaults::LANGUAGE_SYSTEM
),
$field] );
} } private function createData(TestDataCollection
$ids): void
{ $products =
[ (new ProductBuilder($ids, 'product-1'
)) ->
name('Aerodynamic Leather DotCondom'
) ->
tax('t1'
) ->
price(50, 50
) ->
category('Shoes'
) ->
build(),
(new ProductBuilder($ids, 'product-2'
)) ->
name('Aerodynamic Leather Portaline'
) ->
price(50, 50
) ->
build(),
(new ProductBuilder($ids, 'product-3'
)) ->
name('Aerodynamic Leather Wordlobster'
) ->
price(50, 50
) ->
add('customSearchKeywords',
['Activity'
])