Skip to content

Commit

Permalink
Spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosdelest committed Sep 6, 2023
1 parent 0760f9c commit a57da9c
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
import org.elasticsearch.search.lookup.Source;
import org.elasticsearch.search.lookup.SourceProvider;
import org.elasticsearch.test.ESTestCase;
import org.elasticsearch.test.index.IndexVersionUtils;
import org.elasticsearch.xcontent.XContentBuilder;
import org.junit.AssumptionViolatedException;

Expand Down Expand Up @@ -532,7 +531,9 @@ public void testDefaultParamsIndexedByDefault() throws Exception {
}

public void testDefaultParamsBeforeDotProductNormalization() throws Exception {
DocumentMapper documentMapper = createDocumentMapper(INDEXED_BY_DEFAULT_INDEX_VERSION, fieldMapping(b -> { b.field("type", "dense_vector").field("dims", 3); }));
DocumentMapper documentMapper = createDocumentMapper(INDEXED_BY_DEFAULT_INDEX_VERSION, fieldMapping(b -> {
b.field("type", "dense_vector").field("dims", 3);
}));
DenseVectorFieldMapper denseVectorFieldMapper = (DenseVectorFieldMapper) documentMapper.mappers().getMapper("field");
DenseVectorFieldType denseVectorFieldType = denseVectorFieldMapper.fieldType();

Expand Down

0 comments on commit a57da9c

Please sign in to comment.