Skip to content

Commit 93aa378

Browse files
authored
DOCSP-35304: remove eqFull method (#498)
* DOCSP-35304: remove eqFull method * vale fix * CD PR fixes
1 parent 7bb84d7 commit 93aa378

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

source/upgrade.txt

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Version 5.0 Breaking Changes
7777
``long`` instead of type ``int``. Because this change breaks both binary and source
7878
compatibility, update any source code that uses these methods and rebuild your binary.
7979

80-
- The driver removes the following record annotations:
80+
- This driver version removes the following record annotations:
8181

8282
- ``BsonId``
8383
- ``BsonProperty``
@@ -95,6 +95,15 @@ Version 5.0 Breaking Changes
9595
<java-socketsettings-example>` in the Specify MongoClient Settings
9696
guide.
9797

98+
- This driver version removes the ``Filters.eqFull()`` method, which allowed you
99+
to construct an equality filter when performing a vector search.
100+
You can use the ``Filters.eq()`` method when instantiating a
101+
``VectorSearchOptions`` type, as shown in the following code:
102+
103+
.. code-block:: java
104+
105+
VectorSearchOptions opts = vectorSearchOptions().filter(eq("x", 8));
106+
98107
.. _java-breaking-changes-v4.8:
99108

100109
Version 4.8 Breaking Changes

0 commit comments

Comments
 (0)