# \#nearest-neighbors

**URL:** https://discourse.julialang.org/tag/nearest-neighbors/1925.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Is it possible to update NearestNeighbors.jl trees after construction?](https://discourse.julialang.org/t/is-it-possible-to-update-nearestneighbors-jl-trees-after-construction/137892)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 3\
**Last updated:** [July 4, 2026, 4:38pm UTC](https://discourse.julialang.org/t/is-it-possible-to-update-nearestneighbors-jl-trees-after-construction/137892 "2026-07-04T16:38:14Z")

</div>

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 cod…
