Define syntax & scope for Atlas Hybrid Search support

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: django
    • Python Drivers
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      Context

      Atlas Vector/Hybrid Search allows combining vector/text search with traditional filters and matches in a single pipeline We need a clear spec that defines the supported syntax, API surface, and limits.

      Definition of done

      Write a short design doc that includes:

      • The proposed public API in Django ORM style (expressions / lookups / transforms / functions, etc.).
      • Concrete examples mapping Django expressions -> aggregation pipeline (including $search and $searchVector usage and required stage ordering).

      Pitfalls

      Stage ordering is critical: $search must appear before $match/filtering—getting this wrong will break queries.

      Hybrid search features can be large (vector + text + boosting + filters + facet + sort). Avoid trying to cover everything

      Some filter semantics (what can go inside $searchVector vs. $match) differ. It needs clear docs and fallback behavior (e.g., move filter to $match).

            Assignee:
            Unassigned
            Reporter:
            Emanuel Lupi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: