Skip to content

Add moreLikeThis operator to Atlas Search #1609

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Jan 17, 2025
Merged

Conversation

joykim1005
Copy link
Contributor

@joykim1005 joykim1005 commented Jan 15, 2025

Ticket

JAVA-5740

Description

There are several Atlas Search query operators that are not implemented with first class support in the Java driver. This PR adds the moreLikeThis operator to Atlas Search.

Testing

  • ran ./gradlew check
  • ran atlas-search-test on Evergreen
  • ran SearchOperatorTest
  • ran all Evergreen patch

Sorry, something went wrong.

joykim1005 and others added 5 commits January 7, 2025 15:11
wip

Verified

This commit was signed with the committer’s verified signature. The key has expired.
dtzWill Will Dietz
@joykim1005 joykim1005 changed the title Java 5740 Add moreLikeThis operator to Atlas Search Jan 15, 2025
@joykim1005 joykim1005 marked this pull request as ready for review January 16, 2025 15:11
@joykim1005 joykim1005 requested a review from katcharov January 16, 2025 15:11
Copy link
Collaborator

@katcharov katcharov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

joykim1005 and others added 4 commits January 17, 2025 10:39

Verified

This commit was signed with the committer’s verified signature. The key has expired.
infinisil Silvan Mosberger
…rator.java

Co-authored-by: Maxim Katcharov <maxim.katcharov@mongodb.com>
…rchOperator.scala

Co-authored-by: Maxim Katcharov <maxim.katcharov@mongodb.com>
}

/**
* Returns a {@link SearchOperator} that returns documents similar to input document.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I put the suggestion on the wrong method, and the plural might be backwards on these (this should have the s, the other, not).

fix
@joykim1005 joykim1005 merged commit 75cb0e6 into mongodb:main Jan 17, 2025
16 of 60 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants