zoukankan      html  css  js  c++  java
  • CoreSeek中文检索引擎

    目的:安装coreseek中文检索引擎,配置MySQL数据库访问接口,使用PHP程序实现中文检索。

    CoreSeek官方网站:

    http://www.coreseek.cn/

    http://www.coreseek.cn/products/=%22/products-install/step_by_step/

    http://www.coreseek.cn/products-install/mysql/

    具体操作:

    一、安装编译工具

    yum install make gcc g++ gcc-c++ libtool autoconf automake imake mysql-devel libxml2-devel expat-devel

    二 、安装CoreSeek

    1、下载CoreSeek

    下载地址:http://www.coreseek.cn/uploads/csft/3.2/coreseek-3.2.14.tar.gz

    上传coreseek-3.2.14.tar.gz到/usr/local/src目录

    2、安装mmseg

    cd /usr/local/src

    tar zxvf coreseek-3.2.14.tar.gz  #解压

    cd coreseek-3.2.14

    cd mmseg-3.2.14

    ./bootstrap    #输出的warning信息可以忽略,如果出现error则需要解决

    ./configure --prefix=/usr/local/mmseg3  #配置

    make  #编译

    make install  #安装

    3、安装CoreSeek

    cd /usr/local/src

    cd coreseek-3.2.14

    cd csft-3.2.14

    sh buildconf.sh    #输出的warning信息可以忽略,如果出现error则需要解决

    ./configure --prefix=/usr/local/coreseek  --without-unixodbc --with-mmseg --with-mmseg-includes=/usr/local/mmseg3/include/mmseg/ --with-mmseg-libs=/usr/local/mmseg3/lib/ --with-mysql  #配置

    make  #编译

    make install  #安装

    三、测试mmseg分词、coreseek搜索、MySQL数据源

    cd /usr/local/src

    cd coreseek-3.2.14

    cd testpack

    cat /usr/local/src/coreseek-3.2.14/testpack/var/test/test.xml 

  • 相关阅读:
    UVA 10056 What is the Probability ?
    Reporting Services Report 带参数
    頁面刷新後,滾動條位置保持不變
    use this as the default and do not ask again
    JQuery Tab 滑动们导航菜单效果
    poj3256
    poj2060
    poj3280
    poj3261
    poj2135
  • 原文地址:https://www.cnblogs.com/ruiy/p/Cseek.html
Copyright © 2011-2022 走看看