mirror of https://github.com/milvus-io/milvus.git
fix: Mmap could be enabled on ScaNN index (#30914)
issue: https://github.com/milvus-io/milvus/issues/30899 Signed-off-by: sunby <sunbingyi1992@gmail.com>pull/30561/head
parent
3633923bb7
commit
8addd75481
|
@ -46,7 +46,8 @@ func IsMmapSupported(indexType IndexType) bool {
|
|||
indexType == IndexFaissIvfSQ8 ||
|
||||
indexType == IndexFaissBinIDMap ||
|
||||
indexType == IndexFaissBinIvfFlat ||
|
||||
indexType == IndexHNSW
|
||||
indexType == IndexHNSW ||
|
||||
indexType == IndexScaNN
|
||||
}
|
||||
|
||||
func IsDiskIndex(indexType IndexType) bool {
|
||||
|
|
Loading…
Reference in New Issue