Aggregations with $search should fail if the resolved collation is non-simple

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.0.0-rc0, 4.4.20, 5.0.16, 6.0.6
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • ALL
    • v6.0, v5.0, v4.4
    • QO 2023-02-06, QO 2023-02-20, QO 2023-03-06
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Mongot does not currently support collation-aware comparisons, and soon (PM-2803) will be able to perform sorting alongside the search query. Instead of silently ignoring the collation, we should instead fail the query. Note that the resolved collation can come from the aggregation request itself or as the collection default.

            Assignee:
            Militsa Sotirova
            Reporter:
            Nicholas Zolnierz
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: