Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
spring-projects-issues opened this issue Nov 14, 2018 · 1 comment
Assignees
Labels
in: repository Repositories abstraction type: enhancement A general enhancement

Comments

@spring-projects-issues
Copy link

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

@StefanTirea
Copy link
Contributor

StefanTirea commented Jul 28, 2022

Hi @odrotbohm,
I would like to try to work on/solve this issue.
I just wanted to make sure that nobody is already working on this before I start🙂.
(Issue #4130 also related to this ticket)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: repository Repositories abstraction type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants