Skip to content

Commit 92db1c6

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 3625a37 commit 92db1c6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,9 @@ public void testDefaults() throws Exception {
150150

151151
public void testWithIndexOptionsPrune() throws Exception {
152152
DocumentMapper mapper = createDocumentMapper(fieldMapping(this::mappingWithIndexOptionsPrune));
153-
String expectedMapping =
154-
"{\"_doc\":{\"properties\":{\"field\":{\"type\":\"sparse_vector\",\"index_options\":"
153+
String expectedMapping = "{\"_doc\":{\"properties\":{\"field\":{\"type\":\"sparse_vector\",\"index_options\":"
155154
+ "{\"prune\":true,\"pruning_config\":{\"tokens_freq_ratio_threshold\":5.0,\"tokens_weight_threshold\":0.4}}"
156-
+"}}}}";
155+
+ "}}}}";
157156
assertEquals(expectedMapping, mapper.mappingSource().toString());
158157

159158
ParsedDocument doc1 = mapper.parse(source(this::writeField));

0 commit comments

Comments
 (0)