Skip to content

Allow to create case insensitive indexes via annotations  #4130

Closed
@jakubpradzynski

Description

@jakubpradzynski

Hi,

the option for creating case insensitive index in MongoDB is available by setting collation. Specifically locale and strength values. It's described in MongoDB documentation.

Currently, annotations @Indexed and @CompoundIndex don't have collation in parameters to set.
Such option is available for @Document annotation but this will set value for all indexes in collection.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions