Add Builder::vectorSearch() helper

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.2.0
    • Affects Version/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The new method will create a fluent aggregation builder with a $vectorSearch stage.

      Full description from the aggregation stage doc: https://www.mongodb.com/docs/atlas/atlas-vector-search/vector-search-stage/ 

       

      class Builder {
          function vectorSearch(bool $exact, object $filter, string $index, int $limit, int $numCandidates, string $path, array $queryVector): AggregationBuilder;
      } 

       

              Assignee:
              Jérôme Tamarelle
              Reporter:
              Jérôme Tamarelle
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: