# Package org.apache.ignite.ml.knn.utils.indices

- Interface Summary
  Interface | Description
  --- | ---
  SpatialIndex<L> | An index that works with spatial data and allows to quickly find `k` closest element.

- Class Summary
  Class | Description
  --- | ---
  ArraySpatialIndex<L> | Array based implementation of `SpatialIndex`.
  BallTreeSpatialIndex<L> | Ball tree based implementation of `SpatialIndex`.
  KDTreeSpatialIndex<L> | KD tree based implementation of `SpatialIndex`.

- Enum Summary
  Enum | Description
  --- | ---
  SpatialIndexType | Spatial index type.

2022 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.13.0
Release Date | : April 20 2022