跳转到帖子

searchindex.php 清空搜索索引,重建整个搜索索引


Jack

推荐的帖子

searchindex.php 清空搜索索引,重建整个搜索索引

 

Note:

You should not normally need to empty the search index, however if items are showing in search results after they have been permanently deleted then emptying the index and rebuilding the search index will fix this.  Search will not work correctly after emptying the index until the index is fully rebuilt.

Click Here to empty the search index. You can rebuild the whole search index by clicking here if it is supported by your choice of search type.

请注意:

你通常不需要清空搜索索引,但是,如果条目在永久删除后仍在搜索结果中显示,则清空索引并重建搜索索引将解决此问题。

清空索引后,直到索引完全重建,搜索将无法正常运行。

点击此处清空搜索索引。如果你的搜索类型支持,你可以点击此处重建整个搜索索引。

 

-----------------------------------------------------------------
将 searchindex.php 上传到论坛的根目录
-----------------------------------------------------------------

将 searchindex.php 上传到论坛的根目录 /www/wwwroot/域名.com/


在vBulletin 6.0 论坛程序.zip 的 do_not_upload 文件夹中,可找到 searchindex.php

 

而searchindex.php中,不用修改

 

 

改为 www www
chown www:www -R /www/wwwroot/域名.com/*


cd /www/wwwroot/域名.com/


查看 searchindex.php 是否改为 www www
ls -l

 

 

开始执行 清空搜索索引,重建整个搜索索引

php searchindex.php


将出现 Please enter the path to your vBulletin core directory (default /www/wwwroot/域名.com/core): 

默认按 Enter

searchindex1.png

 

 

出现消息

Note:
You should not normally need to empty the search index, however if items are showing in search results after they have been permanently deleted then emptying the index and rebuilding the search index will fix this.  Search will not work correctly after emptying the index until the index is fully rebuilt.
Click Here to empty the search index. You can rebuild the whole search index by clicking here if it is supported by your choice of search type.

清空索引 [0/1,默认=0]: 

searchindex2.png

 

 

 


如果你想要清空索引,重建整个搜索索引

按 1

然后按Enter

searchindex3.png

 

 

完成后

请自行删除 searchindex.php

本帖最后于,由Jack编辑
意见的链接
分享到其他网站

创建帐户或登录后发表意见

你需要成为会员才能发表意见

创建帐户

在我们的论坛注册新帐户,只需要几个简单步骤!

注册帐户

登录

已有帐户?请登录。

立刻登录
×
×
  • 创建新的...