Skip to content

@CompoundIndex has no configuration for collation and strength [DATAMONGO-2133] #3002

Closed
@spring-projects-issues

Description

@spring-projects-issues

Bjorn Harvold opened DATAMONGO-2133 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. def="{a: 1, b:1}{collation:'en', strength:2}".

From what I can see, there is no support for adding collation or strength or similar options using @CompoundIndex. There might be a way to do it within the the "def" property but I cannot find any documentation that explains how to do this. Index fields and options are two different JSON pairs and I am not sure they would fit into "def" that only looks to cover the actual fields themselves


Affects: 2.1.2 (Lovelace SR2)

1 votes, 1 watchers

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions