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:
[X] 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
[X] Ensure the tests and linter pass
[X] Code coverage does not decrease (if any source code was changed)
[X] Appropriate docs were updated (if necessary)
This is new vector search feature support for Firestore:
Support vector data type
Reordering the vector data type in SDK to be consistent with server.
Auto covert data type from int to double if it is a vector type.
Support FindNearest for Query/Collection/CollectionGroup.
Support distance measurement with EUCLIDEAN/COSINE/DOT_PRODUCT.
Support pre-filter with equality condition.
Testing:
Unit and System tests coverage on vector data and vector query.
A util script to bootstrap vector index for system tests.
Future Work: Async vector search support and error handling with retry will come in follow-up PR
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:
This is new vector search feature support for Firestore:
Testing:
Future Work: Async vector search support and error handling with retry will come in follow-up PR