Is it possible to update NearestNeighbors.jl trees after construction?

Is it possible to update the data in a tree after construction? Say we need to add more points to the tree, how to push! or append!? I’ve read the documentation and there is no example for that. By reading the source code I couldn’t find it either.

I’ve opened an issue in the GitHub repository to track it over there as well, in case anyone knows a solution: Documentation for tree updates? · Issue #244 · KristofferC/NearestNeighbors.jl · GitHub

Kristoffer answered on GitHub. Not possible by design.

Just to mention that the complementary package AdaptiveKDTrees.jl seems to have that functionality.