cannot specify index when count command

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.6.5
    • Component/s: Performance
    • None
    • Fully Compatible
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      when i run:
      db.releaseTask.find( {userId: 2, webId: 55, releaseTime:

      { $gte: new Date(1421596860000)}

      , failReason: { $nin: [ -1, 0 ] }}).hint(

      {userId: 1}

      ).count()

              Assignee:
              David Storch
              Reporter:
              Weiping Ye [X]
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: