Skip to content

Commit 6a6052a

Browse files
committed
fix lint
1 parent eed88c6 commit 6a6052a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/search/SparseVectorQueryBuilderTests.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,9 @@ protected void initializeAdditionalMappings(MapperService mapperService) throws
162162
private void addSparseVectorIndexOptionsMapping(MapperService mapperService) throws IOException {
163163
String addIndexOptionsTemplate = "{\"properties\":{\""
164164
+ SPARSE_VECTOR_FIELD
165-
+ "\":{\"type\":\"sparse_vector\",\"index_options\":{\"prune\":true,\"pruning_config\":{\"tokens_freq_ratio_threshold\":12,\"tokens_weight_threshold\":0.6}}}}}";
165+
+ "\":{\"type\":\"sparse_vector\",\"index_options\""
166+
+ ":{\"prune\":true,\"pruning_config\":{\"tokens_freq_ratio_threshold\""
167+
+ ":12,\"tokens_weight_threshold\":0.6}}}}}";
166168
mapperService.merge("_doc", new CompressedXContent(addIndexOptionsTemplate), MapperService.MergeReason.MAPPING_UPDATE);
167169
}
168170

0 commit comments

Comments
 (0)