lucene
lucene copied to clipboard
Move vector search from IndexInput to RandomAccessInput
Description
Vector search currently loads vectors from disk by issuing a seek()
followed by a readFloats()
. We should instead:
- Add an absolute
readFloats()
method toRandomAccessInput
- Refactor the latest vector search file format to use
RandomAccessInput
instead ofIndexInput
to read vectors from disk.