-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Query Integration
-
Fully Compatible
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Collection metadata is required in LogicalStage::explain(), ExecAggStage::explain() and getNext() for $vectorSearch. In particular, it's necessary in order to create the request for mongot .
Collection metadata is the comprised of
{ db: string, collectionName: string, uuid }It's not possible to have this information reliably in the ParseNode phase due to View resolution. The easiest way to provide this to extensions is when an AstNode is promoted to a LogicalStage via bind(). Pass this information to bind() as part of this ticket.