Skip to content
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

feat: Add support for vector search with Query#findNearest #1827

Merged
merged 22 commits into from
Oct 2, 2024

Conversation

MarkDuckworth
Copy link
Contributor

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> ☕️

If you write sample code, please follow the samples format.

Copy link

conventional-commit-lint-gcf bot commented Sep 17, 2024

🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use automerge label. Good luck human!

-- conventional-commit-lint bot
https://conventionalcommits.org/

@product-auto-label product-auto-label bot added size: xl Pull request size is extra large. api: firestore Issues related to the googleapis/java-firestore API. labels Sep 17, 2024
@MarkDuckworth MarkDuckworth changed the title WIP: Find nearest Find nearest Sep 18, 2024
@MarkDuckworth MarkDuckworth marked this pull request as ready for review September 18, 2024 14:43
@MarkDuckworth MarkDuckworth requested a review from a team as a code owner September 18, 2024 14:43
@MarkDuckworth MarkDuckworth changed the title Find nearest feat: Add support for vector search with Query#findNearest Sep 18, 2024
@wu-hui wu-hui assigned MarkDuckworth and unassigned wu-hui Sep 23, 2024
Copy link
Contributor

@tom-andersen tom-andersen left a comment

Choose a reason for hiding this comment

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

I am still going through PR, but I want to share what I found so far.

@cloud-java-bot cloud-java-bot requested a review from a team as a code owner September 27, 2024 17:17
QueryT query,
Timestamp readTime,
final List<QueryDocumentSnapshot> documents,
final DocumentSet documentSet,
Copy link
Contributor

Choose a reason for hiding this comment

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

This is of slightly greater concern because documentSet is also omitted from equals method.

I prefer this get fixed.

Copy link
Contributor

@tom-andersen tom-andersen left a comment

Choose a reason for hiding this comment

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

Nice!

@tom-andersen tom-andersen removed their assignment Oct 2, 2024
@MarkDuckworth MarkDuckworth merged commit 4ad463a into main Oct 2, 2024
21 of 22 checks passed
@MarkDuckworth MarkDuckworth deleted the markduckworth/find-nearest branch October 2, 2024 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: firestore Issues related to the googleapis/java-firestore API. size: xl Pull request size is extra large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants