Skip to content

Conversation

@Yogu
Copy link
Member

@Yogu Yogu commented May 15, 2024

feat: support --icu-language=en_US ArangoDB configuration

cruddl has an optimization for case-insensitive equals and starts-with filters. This optimization
depends on the collator that defines the ordering of strings. The previous code only supported
--default-language=en_US. --default-language is deprecated in favor of --icu-language.

This commit adds support for --icu-language=en_US.

We currently cannot test for this in the CI pipeline because it is not possbile to use --icu-language
in the official Docker image.

@Yogu
Copy link
Member Author

Yogu commented May 24, 2024

After clarifying with the ArangoDB support, we learned that the 'default'-typed languages will not be removed anytime soon, so it is not necessary to migrate.

It probably still makes sense to support it in cruddl, but I would provide an option to enable or disable it, as it will make the queries more complex (MIN/MAX with UPPER+LOWER instead of just UPPER/LOWER).

To test it, we need to put a copy of the arangodb.conf file in the container

@Yogu Yogu force-pushed the icu-language-support branch from 63edff3 to b03247d Compare June 26, 2025 14:04
Yogu added 2 commits July 2, 2025 13:05
cruddl has an optimization for case-insensitive equals and starts-with filters. This optimization
depends on the collator that defines the ordering of strings. The previous code only supported
--default-language=en_US. --default-language is deprecated in favor of --icu-language.

This commit adds support for --icu-language=en_US.

We currently cannot test for this in the CI pipeline because it is not possbile to use --icu-language
in the official Docker image.
@Yogu Yogu force-pushed the icu-language-support branch from b03247d to 1e52d30 Compare July 2, 2025 11:05
@Yogu Yogu force-pushed the icu-language-support branch from 1e52d30 to 1ad8fd7 Compare July 2, 2025 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants