Please clarify about findNearest() method. #2217
Labels
api: firestore
Issues related to the googleapis/nodejs-firestore API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Hello!
I want to ask you to clarify guideline for vector based search findNearest() method.
There is difference between how it is described in the doc and how it is implemented in the library (I have the latest firebase-admin 12.6.0 installed).
So, the doc (https://firebase.google.com/docs/firestore/vector-search#make_a_nearest-neighbor_query) isays :
While the working definition is:
The vector distance value and threshold as described in https://firebase.google.com/docs/firestore/vector-search#vector-distance and https://firebase.google.com/docs/firestore/vector-search#distance-threshold not available at all.
Method description from the package looks like this:
No distanceResultField or distanceThreshold fields.
Please advice how to get distanceResultField and distanceThreshold fields working.
Thanks
The text was updated successfully, but these errors were encountered: