apache / apache/grails-core

Add support for MongoDB Collation

Open
#14,406 1 comment 1 reaction 0 assignees View on GitHub
relates-to: grails-data-mongodb
Dominant language
Groovy
Stars
2.9k
Forks
975
Avg merge
1d 22h
Merged PRs (30d)
92

Description

It seems there is no easy way to perform searches that ignore accents on strings.

MongoDB has a feature called Collation that supports this, but it seems that GORM for MongoDB does not support it: https://docs.mongodb.com/manual/reference/collation/

I think it would be a good improvement, specially for those of us that use languages with accents :-)

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the MongoDB Collation documentation linked in the issue and locating GORM for MongoDB's query and configuration entry points. Determine how collation should be exposed for searches and how it interacts with accent-insensitive matching. Done means GORM for MongoDB can use MongoDB collation for the requested searches, with coverage for the supported behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy, mongodb
Domain
backend, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.