Open
Description
yii2-elasticsearch/Command.php
Line 96 in c52c071
It seems like there is a bug that causes model type to be added to _delete_by_query request url even if dsl version is greater than 7.
In most other functions in this file there is a check for that, but not in deleteByQuery.
Activity
B0rner commentedon Mar 6, 2023
I can confirm this bug.
I have the same problem.
The problem: due to this bug, the functional tests in yii no longer work.
When using test fixtures and elastic search, yii seems to clean up the test data for each test. The yii framework uses exactly this function and runs into an error.
As a result, Elastic Search 8 does not work in codeception test at yii.
lubosdz commentedon Mar 17, 2023
So it should be: