跳转到帖子
在手机APP中查看

一个更好的浏览方法。了解更多

PHP论坛人

主屏幕上的全屏APP,带有推送通知、徽章等。

在iOS和iPadOS上安装此APP
  1. 在Safari中轻敲分享图标
  2. 滚动菜单并轻敲添加到主屏幕
  3. 轻敲右上角的添加按钮。
在安卓上安装此APP
  1. 轻敲浏览器右上角的三个点菜单 (⋮) 。
  2. 轻敲添加到主屏幕安装APP
  3. 轻敲安装进行确认。

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

精选回复

发布于

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编辑

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.