Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-5174

Remove Filters.eqFull

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Unknown Unknown
    • 5.0.0
    • Affects Version/s: 4.11.0
    • Component/s: Builders
    • None
    • Minor Change
    • Needed
    • Hide

      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`.

      Show
      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`.

      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.

            Assignee:
            valentin.kovalenko@mongodb.com Valentin Kavalenka
            Reporter:
            valentin.kovalenko@mongodb.com Valentin Kavalenka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: