Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-14049

Investigate index behavior on index intersection page

      Description

      https://docs.mongodb.com/manual/core/index-intersection/
      The above documentation mention

      db.orders.find( { qty:

      { $gt: 10 }

      } ).sort(

      { status: 1 }

      ) query won't use any of the indexes. But on checking with the same example we found out that it uses the index {qty:1}

      Please check the code or the documentation

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

            Assignee:
            joseph.dougherty@mongodb.com Joseph Dougherty
            Reporter:
            desai.paramjeet3@gmail.com Paramjeet Desai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              3 years, 13 weeks ago