Skip to content

Commit 54afb00

Browse files
committed
minor fix
1 parent 8be88b3 commit 54afb00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/main/java/org/elasticsearch/index/mapper/vectors/DenseVectorFieldMapper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1477,7 +1477,7 @@ public IndexOptions parseIndexOptions(String fieldName, Map<String, ?> indexOpti
14771477
efConstructionNode = Lucene99HnswVectorsFormat.DEFAULT_BEAM_WIDTH;
14781478
}
14791479
if (earlyExitNode == null) {
1480-
earlyExitNode = true;
1480+
earlyExitNode = DEFAULT_EARLY_EXIT;
14811481
}
14821482
int m = XContentMapValues.nodeIntegerValue(mNode);
14831483
int efConstruction = XContentMapValues.nodeIntegerValue(efConstructionNode);
@@ -1586,7 +1586,7 @@ public IndexOptions parseIndexOptions(String fieldName, Map<String, ?> indexOpti
15861586
efConstructionNode = Lucene99HnswVectorsFormat.DEFAULT_BEAM_WIDTH;
15871587
}
15881588
if (earlyExitNode == null) {
1589-
earlyExitNode = true;
1589+
earlyExitNode = DEFAULT_EARLY_EXIT;
15901590
}
15911591
int m = XContentMapValues.nodeIntegerValue(mNode);
15921592
int efConstruction = XContentMapValues.nodeIntegerValue(efConstructionNode);

0 commit comments

Comments
 (0)