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

Use another query to trigger index intersection

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • manual, Server
    • None

    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

        Issue Links

          Activity

            People

              Unassigned Unassigned
              daniel.coupal@mongodb.com Daniel Coupal
              Christopher Harris Christopher Harris
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                5 years, 20 weeks, 6 days ago