Implement vector similarity match expressions in server

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      We should add a $match expression that performs the equivalent of dot product, cosine similarity and euclidean distance functions in mongod, including with secondary indexes on those embedding fields.

      In recent projects (prefix/suffix/substring FLE) in which we've added new expressions into MQL, we've decided to restrict new expressions to the aggregation language instead of adding to the $match language as well. We may want to follow suit in this ticket and only add aggregation expressions which have to be used within a $expr in a $match clause.

            Assignee:
            Unassigned
            Reporter:
            Henry Weller
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: