Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-16945

cannot specify index when count command

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

      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@mongodb.com David Storch
            Reporter:
            Weiping Ye Weiping Ye [X]
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: