You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry, node hasn't payload inline, We may support it in future. fn search(&self, item: &[E], k: usize) -> Vec<T>
It only return the idx of the nearest node
Returned idx is the same as insertion order
For the Node version, is it possible to run comparisons on arrays of objects?
For example, for using it with map data, the query would be a tuple of a map point coordinates: [latitude, longitude].
The material to compare against would be an array of objects similar to:
[ { objectId: 123, someOtherObjectData: string, coordinates: [latitude, longitude] }, { next object }, { next object} ... ]
If so, would it be possible to provide a few pointers or a basic example?
Thanks much!
The text was updated successfully, but these errors were encountered: