-
Faiss -> Milvus 2.x
1. Faiss data preparation
The prerequisite is that the user has prepared his own faiss data file. (In order to experience it quickly, faiss test data is placed in the testfiles directory of the project source code to facilitate user experience: faiss_ivf_flat.index.
2. Compile and package
This part is the same as above and will not be introduced again.
3. Configure migration.ymal config
dumper:
worker:
limit: 2
workMode: faiss ------ 工作模式:faiss
reader:
bufferSize: 1024
writer:
bufferSize: 1024
loader:
worker:
limit: 2
source:
mode: local ---- 数据源可以为 local和 remote
local:
faissFile: ./testfiles/faiss/faiss_ivf_flat.index
target:
create: ----- 指定生成的collection属性
collection:
name: test1w
shardsNums: 2
dim: 256