Skip to content

Commit a967927

Browse files
committed
whats new
1 parent bc81545 commit a967927

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

source/aggregation/atlas-search.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ queries:
8989

9090
$pipeline = new Pipeline(
9191
Stage::search(
92-
// Atlas Search query specifications
93-
// Search::compound(...)
92+
# Atlas Search query specifications
93+
# Search::compound(...)
9494
),
9595
);
9696

source/aggregation/vector-search.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@ queries:
9090

9191
$pipeline = new Pipeline(
9292
Stage::vectorSearch(
93-
// Atlas Vector Search query specifications
94-
// index: '<index name>',
95-
// path: '<path to embeddings>',
96-
// ...
93+
# Atlas Vector Search query specifications
94+
# index: '<index name>',
95+
# path: '<path to embeddings>',
96+
# ...
9797
),
9898
);
9999

source/whats-new.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ improvements, and fixes:
4949
replaced by these new methods in a future driver release, so consider
5050
changing the usages in your application.
5151

52+
- Adds named arguments for the ``SearchStage`` builder. This change
53+
allows you to write Atlas Search and Atlas Vector Search queries in a
54+
more type-safe and organized way. To learn more, see the
55+
:ref:`php-atlas-search` and :ref:`php-vector-search` guides.
56+
5257
.. _php-lib-version-1.20:
5358

5459
What's New in 1.20

0 commit comments

Comments
 (0)