http://blog.csdn.net/e421083458/article/details/21529969
常用的命令
ps -ef|grep searchd
如果你开了search服务后,你命令比如 indexer search 后面都需要带上 --rotate
./indexer --all
./searchd
至于其它什么命令 看手册
collect2: ld returned 1 exit status
make[2]: *** [indexer] Error 1
make[2]: Leaving directory `/root/coreseek-4.1-beta/csft-4.1/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/coreseek-4.1-beta/csft-4.1/src'
make: *** [all-recursive] Error 1
安装过程中抱这个错误的解决方法::
./src/MakeFile文件
将
LIBS = -lm -lexpat -L/usr/local/lib
改成
LIBS = -lm -lexpat -liconv -L/usr/local/lib
- source delta : main
- {
- sql_query_pre = SET NAMES utf8
- sql_query = SELECT * FROM hr_spider_company WHERE id>( SELECT max_doc_id FROM sph_counter WHERE counter_id=1 )
- sql_query_post_index = REPLACE INTO sph_counter SELECT 1,MAX(id) FROM hr_spider_company
- }
- 这里有错误 sql_query_post_index应该注释掉