Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The method fingerprint is now
BackendSpecificInterface::deleteAllIndexItems(Drupal\search_api\IndexInterface $index, $datasource_id = NULL)
Just adding the missing $datasource_id = NULL to SearchApiElasticsearchBackend::deleteAllIndexItems and doing nothing with it fixes the error. I guess the parameter should do something eventually?
Comment | File | Size | Author |
---|---|---|---|
#2 | elasticsearch_connector-backendInterface-2762647-1.patch | 650 bytes | Andreas Radloff |
Comments
Comment #2
Andreas Radloff CreditAttribution: Andreas Radloff commentedComment #3
Andreas Radloff CreditAttribution: Andreas Radloff commentedComment #4
lachezar.valchev CreditAttribution: lachezar.valchev as a volunteer commentedI have reviewed and verified that the patch works fine.
Changing the status to "Reviewed and tested by the community"
Comment #6
lachezar.valchev CreditAttribution: lachezar.valchev as a volunteer commentedHi,
Patch is committed. Thank you for your contribution Andreas Radloff!
Regards,
Lachezar