interface IVFFlatConfig {
    lists?: number;
    probes?: number;
}

属性

lists?: number

倒排列表(聚类)的数量。经验法则:为获得良好性能,可设为行数的平方根。

默认值

100
probes?: number

搜索时要使用的探针数量。值越高,召回率越高,但搜索时间会增加。

默认值

1