File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
server/src/main/java/org/elasticsearch/index/codec/vectors/diskbbq Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 2727import java .io .IOException ;
2828import java .util .Map ;
2929
30- import static org .apache .lucene .codecs .lucene102 .Lucene102BinaryQuantizedVectorsFormat .QUERY_BITS ;
3130import static org .apache .lucene .index .VectorSimilarityFunction .COSINE ;
3231import static org .elasticsearch .index .codec .vectors .BQVectorUtils .discretize ;
3332import static org .elasticsearch .index .codec .vectors .OptimizedScalarQuantizer .DEFAULT_LAMBDA ;
4039 */
4140public class ES920DiskBBQVectorsReader extends IVFVectorsReader {
4241
42+ // QUERY_BITS value copied from Lucene102BinaryQuantizedVectorsFormat where it became package private
43+ private static final byte QUERY_BITS = 4 ;
44+
4345 ES920DiskBBQVectorsReader (SegmentReadState state , GenericFlatVectorReaders .LoadFlatVectorsReader getFormatReader ) throws IOException {
4446 super (state , getFormatReader );
4547 }
You can’t perform that action at this time.
0 commit comments