Skip to content

Commit

Permalink
Support 4 bits with Lucene SQ
Browse files Browse the repository at this point in the history
Signed-off-by: Naveen Tatikonda <[email protected]>
  • Loading branch information
naveentatikonda committed Nov 6, 2024
1 parent 5d98552 commit 14356ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
public class LuceneSQEncoder implements Encoder {
private static final Set<VectorDataType> SUPPORTED_DATA_TYPES = ImmutableSet.of(VectorDataType.FLOAT);

private final static List<Integer> LUCENE_SQ_BITS_SUPPORTED = List.of(7);
private final static List<Integer> LUCENE_SQ_BITS_SUPPORTED = List.of(4, 7);
private final static MethodComponent METHOD_COMPONENT = MethodComponent.Builder.builder(ENCODER_SQ)
.addSupportedDataTypes(SUPPORTED_DATA_TYPES)
.addParameter(
Expand Down

0 comments on commit 14356ef

Please sign in to comment.