mikemccand commented on issue #13880: URL: https://github.com/apache/lucene/issues/13880#issuecomment-2402478358
> It's a bit tricky, or at least non obvious to me on a quick think, how to introspect the Codec formats used in an index down to the `KnnVectorsFormat`... Actually I think it's quite simple: I can open an `IndexReader`, get the leaves, get the `getVectorReader` and check `instanceof` to confirm it's a `Lucene99ScalarQuantizedVectorsReader`. It might be a bit brittle, since we'd have to update that instanceof as we rev newer versions of scalar quantization ... but it should work. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org