PHPCMS与狮身人面像
2016-08-23
0 0 0
暂无评分
其他
如何获取积分?
在phpcms中应用sphinx全文索引
一、首先需要在服务器上安装sphinx
二、升级phpcms search模块
- 载升级包直接覆盖search模块目录 ## 三、设置计划任务更新索引 ## ### 1.windows下 ### #需要设置计划任务 #凌晨4点合并索引,执行merge.bat #其余时间每分钟更新索引,执行delta.bat
merge.bat
@ECHO offD:\sphinx\bin\indexer.exe --config D:\sphinx\sphinx.conf --merge main delta --rotateecho indexing, window will close when complete
delta.bat
@ECHO offD:\sphinx\bin\indexer.exe --config D:\sphinx\sphinx.conf delta --rotateecho indexing, window will close when complete
2.linux下编辑定时任务 crontab -e
凌晨4点合并索引,其余时间每分钟更新索引
* 0-3 * * * /usr/local/sphinx/bin/indexer --config /usr/local/sphinx/etc/sphinx.conf delta --rotate* 6-23 * * * /usr/local/sphinx/bin/indexer --config /usr/local/sphinx/etc/sphinx.conf delta --rotate0 4 * * * /usr/local/sphinx/bin/indexer --config /usr/local/sphinx/etc/sphinx.conf --merge main delta --rotate
phpcms
狮身人面像
相关源码推荐
PHP CMS电磁
0
0
暂无评分
PHP CMS系统
0
0
暂无评分
kleophatra是一个开源的GNU GPL许可写在PHP CMS /
0
0
暂无评分
MongoPress的开源PHP CMS系统
0
0
暂无评分
phpCMS管理系统
0
0
暂无评分
暂无评论