Skip to content

Commit 8c01df1

Browse files
committed
Merge branch '132810_fix_sparse_vector_field_tests' of github.com:mromaios/elasticsearch into 132810_fix_sparse_vector_field_tests
2 parents 1b60a47 + d8a53fb commit 8c01df1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

server/src/test/java/org/elasticsearch/index/mapper/vectors/SparseVectorFieldMapperTests.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,10 @@ private PruningScenario getEffectivePruningScenario(
801801
}
802802

803803
if (shouldPrune == null) {
804-
shouldPrune = indexVersion.between(SPARSE_VECTOR_PRUNING_INDEX_OPTIONS_SUPPORT_BACKPORT_8_X, UPGRADE_TO_LUCENE_10_0_0) || indexVersion.onOrAfter(SPARSE_VECTOR_PRUNING_INDEX_OPTIONS_SUPPORT);
804+
shouldPrune = indexVersion.between(
805+
SPARSE_VECTOR_PRUNING_INDEX_OPTIONS_SUPPORT_BACKPORT_8_X,
806+
UPGRADE_TO_LUCENE_10_0_0
807+
) || indexVersion.onOrAfter(SPARSE_VECTOR_PRUNING_INDEX_OPTIONS_SUPPORT);
805808
}
806809

807810
PruningScenario pruningScenario = PruningScenario.NO_PRUNING;

0 commit comments

Comments
 (0)