以下文档来自:http ://sphinxsearch.com/docs/manual-2.0.6.html#delta-updates
我对sph_counter
Is it used to identify an index table 的目的感到困惑,所以如果我要使用带有 delta 的第二个索引,sph_counter
for 它只会是 2?
主要来源变成?
sql_query_pre = REPLACE INTO sph_counter SELECT 2, MAX(id) FROM table_2
三角洲源变成了?
sql_query = SELECT id, title, body FROM table_2 \
WHERE id>( SELECT max_doc_id FROM sph_counter WHERE counter_id=2
谢谢,仅此而已。