如何在sphinx中截断RT索引表

时间:2012-05-26 08:39:48

标签: php sphinx

是否可以在sphinx中截断RT索引表。 如果是的话,我们怎么做呢...

2 个答案:

答案 0 :(得分:5)

现在可以使用:

TRUNCATE RTINDEX rt;

http://sphinxsearch.com/docs/current.html#sphinxql-truncate-rtindex

答案 1 :(得分:1)

似乎它在主干版本中可用,但不是最新版本(2.0.4) http://sphinxsearch.com/forum/view.html?id=9236