This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
Make HNSW algorithm parameters mapping parameters #282
Labels
Enhancements
Improvement on existing component
For index creation, HNSW graphs take a couple different parameters: M, efConstruction, dimension, spaceType, etc. Currently, M, efConstruction, and spaceType are only configurable via index settings. Dimension is configurable via mapping parameters.
There are a few limitations/issues with having M, efConstruction, and spaceType only be configurable via index settings:
This is a feature request to make M, efConstruction and spaceType mapping parameters and to start to deprecate M, efConstruction and spaceType as index settings. In order to maintain backwards compatibility, it makes sense in KNNVectorFieldMapper to first check if the mapping parameters have been set, and, if not, fall back to reading index settings (as is currently done).
Please leave comments on this issue with thoughts/questions/concerns.
The text was updated successfully, but these errors were encountered: