Set up startup Coreseek service, here must add –pidfile file, lest the shell from start cannot find process PID.
The code is as follows |
Copy Code |
Vi/etc/rc.local (or vi/etc/rc.d/rc.local) /usr/local/coreseek/bin/searchd–-c/usr/local/coresee K/etc/csft.conf--pidfile/usr/local/coreseek/var/log/searchd.pid Rebuild index every half hour vi/usr/local/coreseek/bin/build_index.sh /usr/local/coreseek/bin/indexer-c/usr/local/coreseek/etc/csft.conf--rotate--all--quiet |
Modify File Execution permissions
The code is as follows |
Copy Code |
chmod +x/usr/local/coreseek/bin/build_index.sh Modify Crontab Crontab-e */30 * * * */bin/bash/usr/local/coreseek/bin/build_index.sh |
Coreseek cannot index Chinese
The original is because the configuration index did not join Charset_type that sentence
code is as follows |
copy code |
charset_ Dictpath =/usr/local/mmseg3/etc/ charset_type = Zh_cn.utf-8 |