[JAVA-5174] Remove Filters.eqFull Created: 22/Sep/23  Updated: 05/Jan/24  Resolved: 05/Jan/24

Status: Closed
Project: Java Driver
Component/s: Builders
Affects Version/s: 4.11.0
Fix Version/s: 5.0.0

Type: Improvement Priority: Unknown
Reporter: Valentin Kavalenka Assignee: Valentin Kavalenka
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Documented
Problem/Incident
is caused by JAVA-5117 Add builder for $vectorSearch aggrega... Closed
Backwards Compatibility: Minor Change
Documentation Changes: Needed
Documentation Changes Summary:

Let's mention in What's new that we removed the method `com.mongodb.client.model.Filters.eqFull`/`org.mongodb.scala.model.Filters.eqFull`. This method was previously needed as a replacement for `Filters.eq` when using Atlas vector search, but since then Atlas has evolved and `Filters.eq` can now be used. It's not a major change because the method was marked as `@Beta`.


 Description   

JAVA-5117 introduced Filters.eqFull because Atlas was not supporting the short form of $eq, and we couldn't change the behavior of Filters.eq (see https://github.com/mongodb/mongo-java-driver/pull/1200#discussion_r1327846683).

When Atlas starts supporting the short $eq form, which should be "soon", we can remove Filters.eqFull (marked as @Beta), because all deployments will get the update.



 Comments   
Comment by Githook User [ 04/Jan/24 ]

Author:

{'name': 'Valentin Kovalenko', 'email': 'valentin.kovalenko@mongodb.com', 'username': 'stIncMale'}

Message: Remove `Filters.eqFull` (#1292)

JAVA-5174
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/d0b568fecc90174aefd1e66d19fa7113fd69e791

Generated at Thu Feb 08 09:03:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.