Annotation Interface KnnIndexOptions
public @interface KnnIndexOptions
- Since:
- 5.4
- Author:
- Haibo Liu
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionfloat
Only applicable toKnnAlgorithmType.INT8_HNSW
andKnnAlgorithmType.INT8_FLAT
index types.int
Only applicable toKnnAlgorithmType.HNSW
andKnnAlgorithmType.INT8_HNSW
index types.int
Only applicable toKnnAlgorithmType.HNSW
andKnnAlgorithmType.INT8_HNSW
index types.
-
Element Details
-
type
KnnAlgorithmType type- Default:
- DEFAULT
-
m
int mOnly applicable toKnnAlgorithmType.HNSW
andKnnAlgorithmType.INT8_HNSW
index types.- Default:
- -1
-
efConstruction
int efConstructionOnly applicable toKnnAlgorithmType.HNSW
andKnnAlgorithmType.INT8_HNSW
index types.- Default:
- -1
-
confidenceInterval
float confidenceIntervalOnly applicable toKnnAlgorithmType.INT8_HNSW
andKnnAlgorithmType.INT8_FLAT
index types.- Default:
- -1.0f
-