Sorting not using index properly with 3 field compound index

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 1.6.5
    • Component/s: None
    • None
    • Environment:
      OSX
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I am getting a "too much data for sort() with no index. add an index or specify a smaller limit" error when trying to query on 2 fields and sort on a third, even when using hint and an index exists that I think should work.

      Full output of my .stats() and the queries in question can be found at: http://pastie.org/1417475

            Assignee:
            Unassigned
            Reporter:
            Ryan Ahearn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: