Commit 22b3b6f
authored
fix: add IVF_ON_DISK case to VectorIndexUtils.getIndexFileExtension() (#18176)
IVF_ON_DISK segments failed to load on the server with
"Unsupported vector backend type: IVF_ON_DISK" because
getIndexFileExtension() had no case for IVF_ON_DISK.
IVF_ON_DISK reuses the IVF_FLAT binary file format at build time
and uses FileChannel random-access reads at query time, so it
should return VECTOR_IVF_FLAT_INDEX_FILE_EXTENSION, consistent
with how SegmentDirectoryPaths.findVectorIndexIndexFile() already
handles IVF_ON_DISK.1 parent 6fc035f commit 22b3b6f
1 file changed
Lines changed: 3 additions & 0 deletions
File tree
- pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/store
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
101 | 104 | | |
102 | 105 | | |
103 | 106 | | |
| |||
0 commit comments