Distinguish between the simple collator and the absence of a collator

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • Query Optimization
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently we use a null CollatorInterface* to represent two different states: 1) the "simple" collator, which the user can specify with {collation: {locale: "simple"}}, and 2) the absence of a collator.

      If the user does not specify a collation field with a command, the collation is unknown until we read the collection metadata, since such operations inherit the default collation set on the collection. The current implementation is awkward since we have to take extra steps to distinguish {locale: "simple"} from this "unknown" case.

              Assignee:
              [DO NOT USE] Backlog - Query Optimization
              Reporter:
              David Storch
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: