- Issue created by @joshhytr
- Merge request !2523486166-pass-metric-type | Add support for vector search time metric selection → (Open) created by joshhytr
- 🇬🇧United Kingdom scott_euser
Thanks Josh; I think we should probably pass something more generic to avoid further interface changes in the future though. If for example we pass the QueryInterface you can then access the query, index, and server. So in your case I believe $query->getIndex()->getServerInstance()->getBackendConfig() should contain the metric.
Also latest phpcs changes use statement order, so test coverage is failing.