Skip to content

Commit

Permalink
Clean up some of the kNN code, removing unused paths (elastic#110972)
Browse files Browse the repository at this point in the history
These `float[]` functions were only used by tests. Instead we should use
the `VectorData` abstraction.

Additionally, this updates our internal abstractions to take advantage
of our vector index type enumerations. This unifies and simplifies
validation logic, etc.
  • Loading branch information
benwtrent authored and ioanatia committed Jul 22, 2024
1 parent 2f970b3 commit fd02503
Show file tree
Hide file tree
Showing 6 changed files with 204 additions and 129 deletions.
Loading

0 comments on commit fd02503

Please sign in to comment.