spring-data-mongodb icon indicating copy to clipboard operation
spring-data-mongodb copied to clipboard

Provides support to increase developer productivity in Java when using MongoDB. Uses familiar Spring concepts such as a template classes for core API usage and lightweight repository style data access...

Results 243 spring-data-mongodb issues
Sort by recently updated
recently updated
newest added

Closes #3002, closes #4130 - [x] You have read the [Spring Data contribution guidelines](https://github.com/spring-projects/spring-data-build/blob/master/CONTRIBUTING.adoc). - [x] You use the code formatters provided [here](https://github.com/spring-projects/spring-data-build/tree/master/etc/ide) and have them applied to your changes....

status: waiting-for-triage

**[Bjorn Harvold](https://jira.spring.io/secure/ViewProfile.jspa?name=bjornharvold)** opened **[DATAMONGO-2133](https://jira.spring.io/browse/DATAMONGO-2133?redirect=false)** and commented Request: Add support for collation and strength and other options to `@CompoundIndex`... or add documentation on adding all this is possible within def. E.g....

in: repository
type: enhancement

Hi, I noticed that the GeojsonPolygonconvertor does not convert the inner rings. If you want to convert a polygon with holes. It only looks at the outer ring. This is...

status: feedback-provided

In `MongoTemplate` when executing `collectionToUse.replaceOne(filter, replacement, new ReplaceOptions().upsert(true));` after applying `ShardKey` the filter looks like this { _id=15003b6e6b8a41afa458dd5696cced6b, customer=hash } and I am getting this exception Write operation error on...

status: feedback-provided

This will allow setting up automatic removal for time series collections (https://www.mongodb.com/docs/manual/core/timeseries/timeseries-automatic-removal/#set-up-automatic-removal-for-time-series-collections--ttl-), by adding an `expireAfterSeconds` or `expire` element to the `@TimeSeries` annotation. Similar to `@Indexed`, `expireAfterSeconds` on will have...

status: blocked
type: enhancement

Hello, we will execute find queries on the secondaries in our mongo cluster, but the CursorOption SECONDARY_READS is mapped to primaryPreferred in MongoTemplate.QueryCursorPreparer.getReadPreference. The mapping isn't customizable and the code...

type: enhancement

When writing Aggregation in `MongoRepository` I was checking if array was empty and then replacing it with `[0]` So, here is concrete pipeline element Schema as follows: counter element is...

status: feedback-provided

We now distinguish between `Transient` and `NonTransient` failures by checking the Error labels of an Error and create the according `DataAccessException` based on that information.

`$near` and `$nearSphere` queries are not supported via `countDocuments` and the used aggregation match stage and need to be rewritten to `$geoWithin`. The existing logic did not cover usage of...