Skip to content

Commit 8e56ef7

Browse files
committed
Polishing
1 parent a2a4114 commit 8e56ef7

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

src/test/java/org/springframework/data/elasticsearch/core/index/MappingBuilderIntegrationTests.java

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
import org.junit.jupiter.api.DisplayName;
3838
import org.junit.jupiter.api.Order;
3939
import org.junit.jupiter.api.Test;
40+
import org.junit.jupiter.api.condition.DisabledIf;
4041
import org.springframework.beans.factory.annotation.Autowired;
4142
import org.springframework.context.annotation.Bean;
4243
import org.springframework.context.annotation.Configuration;
@@ -270,12 +271,6 @@ void shouldWriteSourceExcludes() {
270271
indexOps.createWithMapping();
271272
}
272273

273-
@Test // #2659
274-
@DisplayName("should write correct mapping for dense vector property")
275-
void shouldWriteCorrectMappingForDenseVectorProperty() {
276-
operations.indexOps(SimilarityEntity.class).createWithMapping();
277-
}
278-
279274
// region Entities
280275
@Document(indexName = "#{@indexNameProvider.indexName()}")
281276
static class Book {
@@ -898,14 +893,5 @@ private static class EntityWithAllTypes {
898893
@Nullable
899894
@Field(type = FieldType.Dense_Vector, dims = 1) String denseVectorField;
900895
}
901-
902-
@Document(indexName = "#{@indexNameProvider.indexName()}")
903-
static class SimilarityEntity {
904-
@Nullable
905-
@Id private String id;
906-
907-
@Field(type = FieldType.Dense_Vector, dims = 42, similarity = Similarity.classic) private double[] denseVector;
908-
}
909-
910896
// endregion
911897
}

0 commit comments

Comments
 (0)