Investigation - feasibility of running $search on non-materialized views

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In scope of the Index Time Enrichment project, Atlas Search plans to add support for executing queries on views. That would require the following changes on the server side:

      • Support execution of the $_internalSearchIdLookup stage inside a view
      • Implement views with $search such that the view definition is inserted into the pipeline after the $search (and $idLookup) stage but before the rest of the user pipeline
      • If the search is executed on a view, mongot request should include the view name and the corresponding source collection UUID
      • Allow index management commands to work with views: https://www.mongodb.com/docs/manual/reference/method/js-atlas-search/

      We'd like to investigate if these changes are feasible to implement and roughly estimate the effort.

              Assignee:
              Ted Tuckman
              Reporter:
              Alexander Lukyanchikov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: