发布于 2015-06-13 20:07:49 | 290 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的精品教程,程序狗速度看过来!

Coreseek 中文全文检索引擎

Coreseek 是一款中文全文检索/搜索软件,以GPLv2许可协议开源发布,基于Sphinx研发并独立发布,专攻中文搜索和信息处理领域,适用于行业/垂直搜索、论坛/站内搜索、数据库搜索、文档/文献检索、信息检索、数据挖掘等应用场景,用户可以免费下载使用


常用的命令

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应该注释掉


最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务