Skip to content

Commit a79f56f

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 1c14f78 commit a79f56f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,6 @@ public enum IndexPruningScenario {
716716
PRUNE_NULL_NO_CONFIG
717717
}
718718

719-
720719
private void withSearchExecutionContext(MapperService mapperService, CheckedConsumer<SearchExecutionContext, IOException> consumer)
721720
throws IOException {
722721
var mapper = mapperService.documentMapper();
@@ -884,8 +883,11 @@ private Tuple<Boolean, TokenPruningConfig> getQueryPruneConfig(QueryPruningScena
884883
private void runTestTypeQueryFinalization(IndexPruningScenario indexPruningScenario, QueryPruningScenario queryPruningScenario)
885884
throws IOException {
886885
logger.debug("Running test with indexPruningScenario: {}, queryPruningScenario: {}", indexPruningScenario, queryPruningScenario);
887-
IndexVersion indexVersion = IndexVersionUtils.randomVersionBetween(random(),
888-
SPARSE_VECTOR_PRUNING_INDEX_OPTIONS_SUPPORT, IndexVersion.current());
886+
IndexVersion indexVersion = IndexVersionUtils.randomVersionBetween(
887+
random(),
888+
SPARSE_VECTOR_PRUNING_INDEX_OPTIONS_SUPPORT,
889+
IndexVersion.current()
890+
);
889891
MapperService mapperService = createMapperService(indexVersion, getIndexMapping(indexPruningScenario));
890892
logger.debug("Index mapping: {}", mapperService.documentMapper().mappingSource().toString());
891893
Tuple<Boolean, TokenPruningConfig> queryPruneConfig = getQueryPruneConfig(queryPruningScenario);

0 commit comments

Comments
 (0)