Skip to content

Commit

Permalink
updated lucene MAX_DIMENSIONS path
Browse files Browse the repository at this point in the history
Signed-off-by: Wang <[email protected]>
  • Loading branch information
Wang committed Sep 19, 2023
1 parent 12e4a97 commit 3403c64
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
import java.io.IOException;
import java.util.Optional;

import static org.apache.lucene.index.VectorValues.MAX_DIMENSIONS;
import static org.apache.lucene.codecs.KnnVectorsFormat.DEFAULT_MAX_DIMENSIONS;

public class LuceneFieldMapper extends CorrelationVectorFieldMapper {

private static final int LUCENE_MAX_DIMENSION = MAX_DIMENSIONS;
private static final int LUCENE_MAX_DIMENSION = DEFAULT_MAX_DIMENSIONS;

private final FieldType vectorFieldType;

Expand Down

0 comments on commit 3403c64

Please sign in to comment.