CodeExplorer resetStopWords example
public function testIndexing(): IdsCollection
{ try { $this->connection->
executeStatement('DELETE FROM product'
);
$context =
$this->context;
$this->
clearElasticsearch();
$this->
resetStopWords();
$this->ids->
set('currency',
$this->currencyId
);
$this->ids->
set('anotherCurrency',
$this->anotherCurrencyId
);
$currencies =
[ [ 'id' =>
$this->currencyId,
'name' => 'test',
'factor' => 1,
'symbol' => 'A',
'decimalPrecision' => 2,
'shortName' => 'A',