VectorIndexSpec constructor

const VectorIndexSpec({
  1. required String table,
  2. required String column,
  3. required int dim,
  4. VectorIndexKind kind = VectorIndexKind.flat,
  5. VectorMetric metric = VectorMetric.l2sq,
  6. int m = 16,
  7. int efConstruction = 40,
  8. int efSearch = 16,
  9. int nlist = 0,
  10. int nprobe = 1,
  11. int nbits = 64,
  12. int rescoreFactor = 1,
  13. int seed = 1234,
  14. 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 [],
});