提高sql2005中带freetexttable和rank的全文检索的速度

原来使用中的sql2005的全文检索的速度总是不如意,尤其是带rank的。今天搜了一下,原来在freetexttable中还有一个参数top_n_by_rank,是第4个参数。注意还要设置:EXEC sp_configure 'precompute rank', '1'

 

EXEC sp_configure 'show advanced options', 1
GO
RECONFIGURE
GO
EXEC sp_configure 'precompute rank', 1
GO
RECONFIGURE
GO

posted @ 2014-06-23 17:07  qanholas  阅读(1459)  评论(0编辑  收藏  举报