- Issue created by @kim.pepper
- Merge request !813Issue #3539029: Use SearchApiAiSearchBackend::getClient() and remove duplicate logic โ (Open) created by Unnamed author
We have a method \Drupal\ai_search\Plugin\search_api\backend\SearchApiAiSearchBackend::getClient()
that gets the vdb provider. However we repeat the same call to $this->vdbProviderManager->createInstance($this->configuration['database'])
in multiple methods.
Remove the duplication and call ::getClient().
Bonus points: consider renaming ::getClient()
to ::getVectorDB()
for readibility.
Active
1.2
...to be triaged