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

Parse mongot query using the IDL

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration

      Historically we've treated the contents of the $search query as a total black box to mongod. Most of the time, we never unpack the query from BSON, and it resides in the 
      InternalSearchMongotRemoteSpec.mongotQuery as a BSONObj blob until the query is dispatched to mongot.
       
      The one exception has been the "returnStoredSource" argument, and now (as of SERVER-96059) the "sort" argument as well. We should consider making another IDL struct for the contents of the mongot query so it's easier to access those fields in mongod/s.

            Assignee:
            Unassigned Unassigned
            Reporter:
            will.buerger@mongodb.com Will Buerger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: