Indexing method of Coreseek timing reconstruction in CentOS 6.3

Source: Internet
Author: User
Tags centos

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
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.