Skip to content

Commit 899b5a6

Browse files
committed
More descriptive comments
1 parent 03f19b2 commit 899b5a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/mapper/SemanticInferenceMetadataFieldsMapperTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public void testIsEnabled() {
5757
random(),
5858
IndexVersions.SEMANTIC_TEXT_FIELD_TYPE,
5959
IndexVersionUtils.getPreviousVersion(IndexVersions.INFERENCE_METADATA_FIELDS_BACKPORT)
60-
) // 8.x version range
60+
) // 8.x version range prior to the introduction of the new format
6161
)
6262
.put(InferenceMetadataFieldsMapper.USE_LEGACY_SEMANTIC_TEXT_FORMAT.getKey(), false)
6363
.build();
@@ -70,7 +70,7 @@ public void testIsEnabled() {
7070
random(),
7171
IndexVersions.UPGRADE_TO_LUCENE_10_0_0,
7272
IndexVersionUtils.getPreviousVersion(IndexVersions.INFERENCE_METADATA_FIELDS)
73-
) // 9.x version range
73+
) // 9.x version range prior to the introduction of the new format
7474
)
7575
.put(InferenceMetadataFieldsMapper.USE_LEGACY_SEMANTIC_TEXT_FORMAT.getKey(), false)
7676
.build();

0 commit comments

Comments
 (0)