Implement vector similarity match expressions in server

XMLWordPrintableJSON

    • Query Integration
    • Fully Compatible
    • None
    • 3
    • None
    • 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:
              Daniel Segel
              Reporter:
              Henry Weller
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: