我在Windows上使用Sphinx3.x,有两个索引main
和delta
当我运行indexer.exe --merge main delta --merge-klists --rotate
时
它始终提示ERROR: malformed or unknown option near '--merge-klists'.
。
source src1delta : src1 {
sql_query = \
SELECT id, group_id, UNIX_TIMESTAMP(date_added) AS date_added, title, content \
FROM documents WHERE id in (select id FROM sphinx where tb='doc' AND type=1 )
sql_query_killlist = SELECT id FROM sphinx WHERE tb='doc' AND type=0
}
index main
{
source = src1
path = d:/sphinx3/data/main
}
index delta {
source = src1delta
path = d:/sphinx3/data/delta
kbatch = main, delta
}