-
Notifications
You must be signed in to change notification settings - Fork 66
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
Conversation
🤖 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 -- conventional-commit-lint bot |
…duckworth/find-nearest
google-cloud-firestore/src/main/java/com/google/cloud/firestore/FindNearestOptions.java
Outdated
Show resolved
Hide resolved
google-cloud-firestore/src/main/java/com/google/cloud/firestore/GenericQuerySnapshot.java
Outdated
Show resolved
Hide resolved
google-cloud-firestore/src/main/java/com/google/cloud/firestore/QueryApiStreamObserver.java
Outdated
Show resolved
Hide resolved
google-cloud-firestore/src/main/java/com/google/cloud/firestore/StreamableQuery.java
Outdated
Show resolved
Hide resolved
google-cloud-firestore/src/main/java/com/google/cloud/firestore/Query.java
Show resolved
Hide resolved
There was a problem hiding this 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.
google-cloud-firestore/src/main/java/com/google/cloud/firestore/GenericQuerySnapshot.java
Outdated
Show resolved
Hide resolved
google-cloud-firestore/src/main/java/com/google/cloud/firestore/GenericQuerySnapshot.java
Outdated
Show resolved
Hide resolved
google-cloud-firestore/src/main/java/com/google/cloud/firestore/GenericQuerySnapshot.java
Outdated
Show resolved
Hide resolved
google-cloud-firestore/src/main/java/com/google/cloud/firestore/GenericQuerySnapshot.java
Outdated
Show resolved
Hide resolved
google-cloud-firestore/src/main/java/com/google/cloud/firestore/GenericQuerySnapshot.java
Outdated
Show resolved
Hide resolved
google-cloud-firestore/src/main/java/com/google/cloud/firestore/Query.java
Outdated
Show resolved
Hide resolved
google-cloud-firestore/src/main/java/com/google/cloud/firestore/Query.java
Outdated
Show resolved
Hide resolved
google-cloud-firestore/src/main/java/com/google/cloud/firestore/Query.java
Outdated
Show resolved
Hide resolved
google-cloud-firestore/src/main/java/com/google/cloud/firestore/QuerySnapshot.java
Show resolved
Hide resolved
google-cloud-firestore/src/main/java/com/google/cloud/firestore/VectorQuerySnapshot.java
Outdated
Show resolved
Hide resolved
google-cloud-firestore/src/main/java/com/google/cloud/firestore/Query.java
Outdated
Show resolved
Hide resolved
google-cloud-firestore/src/main/java/com/google/cloud/firestore/VectorQuery.java
Outdated
Show resolved
Hide resolved
…va-firestore into markduckworth/find-nearest
…va-firestore into markduckworth/find-nearest
QueryT query, | ||
Timestamp readTime, | ||
final List<QueryDocumentSnapshot> documents, | ||
final DocumentSet documentSet, |
There was a problem hiding this comment.
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.
google-cloud-firestore/src/main/java/com/google/cloud/firestore/VectorQueryOptions.java
Outdated
Show resolved
Hide resolved
google-cloud-firestore/src/test/java/com/google/cloud/firestore/VectorQueryTest.java
Outdated
Show resolved
Hide resolved
google-cloud-firestore/src/main/java/com/google/cloud/firestore/Query.java
Show resolved
Hide resolved
google-cloud-firestore/src/main/java/com/google/cloud/firestore/Query.java
Show resolved
Hide resolved
google-cloud-firestore/src/main/java/com/google/cloud/firestore/VectorQuery.java
Show resolved
Hide resolved
google-cloud-firestore/src/main/java/com/google/cloud/firestore/VectorQuery.java
Show resolved
Hide resolved
google-cloud-firestore/src/main/java/com/google/cloud/firestore/StreamableQuery.java
Outdated
Show resolved
Hide resolved
google-cloud-firestore/src/main/java/com/google/cloud/firestore/VectorQuery.java
Outdated
Show resolved
Hide resolved
…duckworth/find-nearest
…duckworth/find-nearest
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
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:
Fixes #<issue_number_goes_here> ☕️
If you write sample code, please follow the samples format.