Skip to content

[Feature Request] Support createIndexes with collation #258

Description

@AlekSi

Purpose of the feature.

Currently, the createIndexes command does not support the collation parameter: https://github.com/microsoft/documentdb/blob/3213e54764d3b03506c21ecf2ff9035bf2f2301a/pg_documentdb/src/commands/create_indexes.c#L1846-L1850

It is being requested by our users.

Describe the solution you'd like

The createIndexes command supports the collation parameter.

Describe alternatives you've considered

Ignore the error by setting the skipFailOnCollation feature flag and get incorrect results. Not really an alternative.

Additional context

N/A

Activity

  1. added
    enhancement
    on Jul 25, 2025
  2. sivethe commented on Jul 31, 2025

    @sivethe
    Contributor

    @CorneliusOsei2, can you check if the above ask aligns with the work that we are planning?

  3. CorneliusOsei2 commented on Aug 4, 2025

    @CorneliusOsei2
    Contributor

    Yeah, @sivethe it is.
    We do not ignore it outright to prevent incorrect/sub-optimal output. @AlekSi

  4. daniel-phage commented on Oct 13, 2025

    @daniel-phage

    Hi, are there any updates regarding this issue?

  5. CorneliusOsei2 commented on Dec 5, 2025

    @CorneliusOsei2
    Contributor

    Yeah; we are still working on it. Will provide updates soon

  6. added this to the 0.111-0 milestone on Feb 24, 2026
  7. documentdb-triage-tool commented on Apr 29, 2026

    @documentdb-triage-tool

    🤖 Auto-triaged by documentdb-triage-tool.

    Applied: indexing
    Project fields suggested: Component indexing · Priority P2 · Effort L · Status In Progress
    Confidence: 0.85 (llm)

    Reasoning

    LLM: Feature request to add collation support to createIndexes, touching index creation logic in a core command file and likely requiring protocol/schema changes for collation-aware index definitions.

    If a label is wrong, remove it manually and ping @patty-chow so the rules can be tuned. The bot will not re-label items that already have component labels.

  8. documentdb-triage-tool commented on May 30, 2026

    @documentdb-triage-tool

    👋 @CorneliusOsei2 — this issue has been assigned for 31 days with no activity. Is it still in progress? If you've made progress, please leave a quick update. Otherwise it'll be flagged for re-assignment at the next triage meeting.

  9. 3 remaining items

  10. documentdb-triage-tool commented on Jun 30, 2026

    @documentdb-triage-tool

    👋 @CorneliusOsei2 — this issue has been assigned for 14 days with no activity. Is it still in progress? If you've made progress, please leave a quick update. Otherwise it'll be flagged for re-assignment at the next triage meeting.

  11. documentdb-triage-tool commented on Jul 15, 2026

    @documentdb-triage-tool

    👋 @CorneliusOsei2 — this issue has been assigned for 14 days with no activity. Is it still in progress? If you've made progress, please leave a quick update. Otherwise it'll be flagged for re-assignment at the next triage meeting.

  12. modified the milestones: 0.111-0, 0.116-0 on Jul 24, 2026
  13. documentdb-triage-tool commented on Aug 15, 2026

    @documentdb-triage-tool

    👋 @CorneliusOsei2 — this issue has been assigned for 14 days with no activity. Is it still in progress? If you've made progress, please leave a quick update. Otherwise it'll be flagged for re-assignment at the next triage meeting.

  14. documentdb-triage-tool commented on Aug 29, 2026

    @documentdb-triage-tool

    👋 @CorneliusOsei2 — this issue has been assigned for 14 days with no activity. Is it still in progress? If you've made progress, please leave a quick update. Otherwise it'll be flagged for re-assignment at the next triage meeting.

  15. documentdb-triage-tool commented on Sep 13, 2026

    @documentdb-triage-tool

    👋 @CorneliusOsei2 — this issue has been assigned for 14 days with no activity. Is it still in progress? If you've made progress, please leave a quick update. Otherwise it'll be flagged for re-assignment at the next triage meeting.

  16. documentdb-triage-tool commented on Sep 27, 2026

    @documentdb-triage-tool

    👋 @CorneliusOsei2 — this issue has been assigned for 14 days with no activity. Is it still in progress? If you've made progress, please leave a quick update. Otherwise it'll be flagged for re-assignment at the next triage meeting.

  17. documentdb-triage-tool commented on Oct 11, 2026

    @documentdb-triage-tool

    👋 @CorneliusOsei2 — this issue has been assigned for 14 days with no activity. Is it still in progress? If you've made progress, please leave a quick update. Otherwise it'll be flagged for re-assignment at the next triage meeting.

  18. documentdb-triage-tool commented on Oct 28, 2026

    @documentdb-triage-tool

    👋 @CorneliusOsei2 — this issue has been assigned for 17 days with no activity. Is it still in progress? If you've made progress, please leave a quick update. Otherwise it'll be flagged for re-assignment at the next triage meeting.

  19. documentdb-triage-tool commented on Nov 11, 2026

    @documentdb-triage-tool

    👋 @CorneliusOsei2 — this issue has been assigned for 14 days with no activity. Is it still in progress? If you've made progress, please leave a quick update. Otherwise it'll be flagged for re-assignment at the next triage meeting.

  20. guanzhousongmicrosoft commented on Nov 23, 2026

    @guanzhousongmicrosoft
    Member

    Collation for createIndexes has landed behind the off-by-default documentdb.enableCollationWithNonUniqueOrderedIndexes setting. Without it the command still returns "not implemented".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementindexingmerged

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions