VectorIndexSpec constructor
const
VectorIndexSpec({
- required String table,
- required String column,
- required int dim,
- VectorIndexKind kind = VectorIndexKind.flat,
- VectorMetric metric = VectorMetric.l2sq,
- int m = 16,
- int efConstruction = 40,
- int efSearch = 16,
- int nlist = 0,
- int nprobe = 1,
- int nbits = 64,
- int rescoreFactor = 1,
- int seed = 1234,
- List<
String> filterColumns = const [],
Implementation
const VectorIndexSpec({
required this.table,
required this.column,
required this.dim,
this.kind = VectorIndexKind.flat,
this.metric = VectorMetric.l2sq,
this.m = 16,
this.efConstruction = 40,
this.efSearch = 16,
this.nlist = 0,
this.nprobe = 1,
this.nbits = 64,
this.rescoreFactor = 1,
this.seed = 1234,
this.filterColumns = const [],
});