Skip to content

Commit

Permalink
updated lucene MAX_DIMENSIONS path (#607)
Browse files Browse the repository at this point in the history
Signed-off-by: Wang <jowg@6c7e67cb99a2.ant.amazon.com>
  • Loading branch information
jowg-amazon authored Sep 19, 2023
1 parent 12e4a97 commit 3c9b23a
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 3c9b23a

Please sign in to comment.