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

Use another query to trigger index intersection

    XMLWordPrintableJSON

Details

    Description

      In https://docs.mongodb.com/manual/core/index-intersection/, the query:

      db.orders.find( { qty: { $gt: 10 } , status: "A" } ).sort( { ord_date: -1 } )
      

      does not generate a plan with an index intersection to try.

      Attachments

        Activity

          People

            kanchana.sekhar@mongodb.com Kanchana Sekhar
            daniel.coupal@mongodb.com Daniel Coupal
            Votes:
            1 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              30 weeks ago