Skip to content

Commit 925173c

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 9953513 commit 925173c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

x-pack/plugin/core/src/internalClusterTest/java/org/elasticsearch/xpack/core/ml/search/SparseVectorIndexOptionsIT.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,11 +157,9 @@ private Response performSearch(String source) throws IOException {
157157

158158
private String getBuilderForSearch() {
159159
boolean shouldUseDefaultTokens = (testQueryShouldNotPrune == false && testHasIndexOptions == false);
160-
TokenPruningConfig queryPruningConfig = overrideQueryPruningConfig
161-
? new TokenPruningConfig(3f, 0.5f, true)
162-
: null;
160+
TokenPruningConfig queryPruningConfig = overrideQueryPruningConfig ? new TokenPruningConfig(3f, 0.5f, true) : null;
163161

164-
SparseVectorQueryBuilder queryBuilder = new SparseVectorQueryBuilder(
162+
SparseVectorQueryBuilder queryBuilder = new SparseVectorQueryBuilder(
165163
SPARSE_VECTOR_FIELD,
166164
shouldUseDefaultTokens ? SEARCH_WEIGHTED_TOKENS_WITH_DEFAULTS : SEARCH_WEIGHTED_TOKENS,
167165
null,

0 commit comments

Comments
 (0)