File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed
src/test/java/org/springframework/data/elasticsearch/core/index Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change 37
37
import org .junit .jupiter .api .DisplayName ;
38
38
import org .junit .jupiter .api .Order ;
39
39
import org .junit .jupiter .api .Test ;
40
+ import org .junit .jupiter .api .condition .DisabledIf ;
40
41
import org .springframework .beans .factory .annotation .Autowired ;
41
42
import org .springframework .context .annotation .Bean ;
42
43
import org .springframework .context .annotation .Configuration ;
@@ -270,12 +271,6 @@ void shouldWriteSourceExcludes() {
270
271
indexOps .createWithMapping ();
271
272
}
272
273
273
- @ Test // #2659
274
- @ DisplayName ("should write correct mapping for dense vector property" )
275
- void shouldWriteCorrectMappingForDenseVectorProperty () {
276
- operations .indexOps (SimilarityEntity .class ).createWithMapping ();
277
- }
278
-
279
274
// region Entities
280
275
@ Document (indexName = "#{@indexNameProvider.indexName()}" )
281
276
static class Book {
@@ -898,14 +893,5 @@ private static class EntityWithAllTypes {
898
893
@ Nullable
899
894
@ Field (type = FieldType .Dense_Vector , dims = 1 ) String denseVectorField ;
900
895
}
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
-
910
896
// endregion
911
897
}
You can’t perform that action at this time.
0 commit comments