Mark Paluch
fee8485988
Remove MongoDB 4.x driver compatibility stage.
...
MongoDB 4.x doesn't ship with Vector types.
See: #4529
See: #4706
2025-02-13 16:15:05 +01:00
Mark Paluch
f52783469b
Polishing.
...
Reformat code. Reuse PersistentEntity for mapping instead of resolving TypeInformation from Class.
Original pull request: #4892
See: #4860
2025-02-13 15:41:35 +01:00
Christoph Strobl
f6f34c349c
Fix sort logging in MongoTemplate.
...
Original pull request: #4892
Closes #4860
2025-02-13 15:35:45 +01:00
Mark Paluch
c1e5deea73
Polishing.
...
Sync properties with Spring Data Build.
Original pull request: #4893
See #4529
2025-02-13 14:46:24 +01:00
Christoph Strobl
202b00419d
Remove MongoDB 4.4 and 5.x test stages.
...
Stop testing against MongoDB server versions that are EOL already.
MongoDB 4.4: EOL Feb. 2024
MongoDB 5.0: EOL Oct. 2024
Original pull request: #4893
Closes #4529
2025-02-13 14:46:24 +01:00
Mark Paluch
8eedec2036
Refine Querydsl documentation.
...
Closes #4894
2025-02-13 09:19:15 +01:00
Mark Paluch
0edbcffdf4
Polishing.
...
Add missing jakarta classifiers.
See #4811
2025-02-13 08:53:43 +01:00
Mark Paluch
dde5a66e94
Update CI Properties.
...
See #4835
2025-02-11 15:23:12 +01:00
Mark Paluch
a53ea25de2
Polishing.
...
Remove Field type. Refactor container to subclass MongoDBAtlasLocalContainer. Introduce wait/synchronization to avoid container crashes on create index + list search indexes.
See #4706
Original pull request: #4882
2025-02-04 15:35:25 +01:00
Christoph Strobl
2d7d7bf004
Extend integration tests.
...
See #4706
Original pull request: #4882
2025-02-04 15:35:15 +01:00
Mark Paluch
e8e110e31d
Add VectorIndex and SearchIndexDefinition abstraction.
...
See #4706
Original pull request: #4882
2025-02-04 15:35:12 +01:00
Marcin Grzejszczak
1645d6c7e4
Converted vector operations to search operations.
...
See #4706
Original pull request: #4882
2025-02-04 15:35:06 +01:00
Christoph Strobl
2b93bf385c
Add support for $vectorSearch aggregation stage.
...
Closes #4706
Original pull request: #4882
2025-02-04 15:34:39 +01:00
Christoph Strobl
dd4579c563
Upgrade to MongoDB driver 5.3.1.
...
Closes : #4883
2025-01-23 13:40:27 +01:00
Mark Paluch
e403985c16
Polishing.
...
Consistently use entity.isIdProperty(…) to determine whether a property is the identifier.
Original pull request: #4878
See #4877
2025-01-16 15:35:40 +01:00
Christoph Strobl
0beff08000
Fix reading back id field value when multiple id property candidates exist.
...
We now check if a property identifies as the entities id property when populating values read from the source document.
Original pull request: #4878
Closes #4877
2025-01-16 15:35:18 +01:00
Christoph Strobl
14985a9523
Polishing.
...
Original Pull Request: #4822
2025-01-16 09:25:53 +01:00
Giacomo Baso
2955aab3b8
Trim BindlableMongoExpression input.
...
Trim the given source so that wrapping checks still work for text blocks.
Fix a typo in Javadoc.
Resolves : #4821
Original Pull Request: #4822
2025-01-16 09:25:52 +01:00
Mark Paluch
9e18fa4a6d
Switch from CLA to DCO.
...
See spring-projects/spring-data-build#2471
2025-01-10 11:04:49 +01:00
Mark Paluch
1b0fd3a2ee
Upgrade to MongoDB driver 5.3.0-beta0.
...
Closes #4871
2025-01-10 11:04:28 +01:00
Mark Paluch
3c0b8e6c42
Extend license header copyright years to 2025.
...
See #4869
2025-01-08 10:04:44 +01:00
Mark Paluch
74654cd7c7
Polishing.
...
Refine naming. Reformat code.
Original pull request: #4858
See #4857
2025-01-07 14:47:02 +01:00
Christoph Strobl
d8700261db
Support Expressions in $slice operator.
...
This commit allows AggregationExpressions to be used for itemCount and offset of the Slice expression.
Original pull request: #4858
Closes #4857
2025-01-07 14:47:02 +01:00
Mark Paluch
a11324050e
Polishing.
...
Reduce test class and method visibility. Convert JUnit 4 test to JUnit 5. Reformat code.
Original pull request: #4862
See #4850
2025-01-07 14:35:18 +01:00
Christoph Strobl
91c6fcd785
Wrap Criteria is and regex comparison if necessary.
...
This commit wraps simple values and Patterns if to avoid creating invalid query objects.
Original pull request: #4862
Closes #4850
2025-01-07 14:35:13 +01:00
Christoph Strobl
471a77cbd8
Polishing.
...
Make sure type used in protected method is visible in defined scope.
See: #4846
2024-12-11 11:24:50 +01:00
Christoph Strobl
b43c09d1f4
Avoid unnecessary mapping of Sort object.
...
Closes : #4846
2024-12-11 10:38:32 +01:00
Christoph Strobl
538399adee
Fix IndexOptions.expireAfter setting wrong property.
...
Resolves : #4851
2024-12-11 10:28:59 +01:00
Christoph Strobl
f910839dca
Align @Indexed(expireAfter) with expireAfterSeconds.
...
This commit fixes an issue where expireAfter=0s behaves differently from expireAfterSeconds=0 where the former would not be applied.
Closes #4844
Original pull request: #4848
2024-12-10 09:53:29 +01:00
Mark Paluch
0a29d13774
Refactor String-based repository aggretation methods into common utility callback.
...
Also, support aggregation result projections for reactive flows.
See #4839
Original pull request: #4841
2024-12-10 09:49:32 +01:00
Christoph Strobl
f2a9d1f1b3
Fix interface projections for string based aggregations.
...
Closes #4839
Original pull request: #4841
2024-12-10 09:49:32 +01:00
Faron Dutton
2580af2935
Adds failing unit-test for StringBasedAggregation projections.
...
See #4839
Original pull request: #4841
2024-12-10 09:49:32 +01:00
Mark Paluch
5b86b2fa88
Polishing.
...
Switch to Flux.fromIterable(…) from StreamUtils in deleteAll(Iterable). Use switch expressions, refine toList/toCollection arrangement. Guard tests against absent ReplicaSet.
See #4838
Original pull request: #4843
2024-11-28 16:04:01 +01:00
Christoph Strobl
721799dfdc
Fix flakey test by asserting execution order.
...
See #4838
Original pull request: #4843
2024-11-28 16:04:01 +01:00
Christoph Strobl
94a4fe7acb
Update reactive SimpleReactiveMongoRepository.saveAll flow.
...
Closes #4838
Original pull request: #4843
2024-11-28 16:04:01 +01:00
Mark Paluch
315b91048e
Fix Java 23 Docker build paths.
...
See #4817
2024-11-15 15:41:30 +01:00
Mark Paluch
ef0a561485
After release cleanups.
...
See #4817
2024-11-15 14:13:09 +01:00
Mark Paluch
9f041714df
Prepare next development iteration.
...
See #4817
2024-11-15 14:13:08 +01:00
Mark Paluch
7289148202
Release version 4.4 GA (2024.1.0).
...
See #4817
2024-11-15 14:10:52 +01:00
Mark Paluch
c554455532
Prepare 4.4 GA (2024.1.0).
...
See #4817
2024-11-15 14:10:36 +01:00
Christoph Strobl
e9d44256c6
Fix flakey test.
...
Original pull request: #4824
Closes #4804
2024-11-12 09:28:34 +01:00
Christoph Strobl
723db60ce1
Retain order doing reactive save operations with multiple elements.
...
Ensure subscription order on multi document operations.
Original pull request: #4824
Closes #4804
2024-11-12 09:28:33 +01:00
Mark Paluch
eeab99266f
Fix MongoCrypt dependency setup when testing with Driver 4.x.
...
See #4817
2024-11-11 14:49:32 +01:00
Mark Paluch
de210e0515
Upgrade to MongoDB driver 5.2.1.
...
Closes #4830
2024-11-11 09:47:19 +01:00
Mark Paluch
418125dc60
Upgrade MongoDB 8 build to Java.next.
...
Closes #4828
2024-11-07 11:01:38 +01:00
Mark Paluch
c1c9fd0274
Update CI Properties.
...
See #4817
2024-11-07 09:57:35 +01:00
Mark Paluch
2334f6cd87
Upgrade to Maven Wrapper 3.9.9.
...
See #4825
2024-11-07 09:47:19 +01:00
Mark Paluch
d33b063c75
Relocate benchmarks to core module.
...
Original Pull Request: #4819
2024-11-04 13:27:29 +01:00
Mark Paluch
1075a25df4
Revisit internal caching arrangements.
...
Introduce caching and reduce allocations on hot code paths.
Closes : #4818
Original Pull Request: #4819
2024-11-04 13:14:28 +01:00
Mark Paluch
5419414734
Fix benchmarks.
...
Original Pull Request: #4819
2024-11-04 13:12:36 +01:00