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

cannot specify index when count command

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 2.6.5
    • Fix Version/s: None
    • Component/s: Performance
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL

      Description

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

      { $gte: new Date(1421596860000)}

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

      {userId: 1}

      ).count()

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: