coreseek笔记

coreseek安装笔记

 

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

 

安装:

 

1. 下载coreseek win32版本:coreseek 3.2.14:点击下载、coreseek 4.0.1:点击下载、coreseek 4.1:点击下载

2. 进入安装目录,点击其中test开头的文件,进行搜索测试

 (如不使用自带的test测试,必须从桌面-开始-运行-输入CMD,打开命令行窗口,然后执行:执行 "set PATH=%CD%\bin;%PATH%"。设置path,目的是为了能够调用bin目录下的 cat.exe、iconv.exe 等)

 

5. 常用指令:(提示:a. 进入bin目录再执行指令,是错误的做法; b. 中文搜索或出现乱码或者无结果,需查看后面详细说明)

测试配置是否可用:bin\indexer -c etc\csft.conf

测试索引全部数据:bin\indexer -c etc\csft.conf --all

测试索引指定数据:bin\indexer -c etc\csft.conf 索引名称(如:xml、mysql)

测试 命令行 搜索: bin\search -c etc\csft.conf

测试 中文 搜索:bin\search -c etc\csft.conf -a 网络搜索

测试 搜索服 务端: bin\searchd -c etc\csft.conf

 

 

1、测试:运行test.cmd文件

 

2、执行 "set PATH=%CD%\bin;%PATH%"。设置path,目的是为了能够调用bin目录下的 cat.exe、iconv.exe 等

 

(中文测试search: echo 网络搜索 | iconv -f gbk -t utf-8 | search -c etc\csft.conf --stdin | iconv -f utf-8 -t gbk)

 

3、将 searchd 安装成为一个服务。执行 "bin\searchd --install --config d:/coreseek/etc/csft_mysql.conf",安装成功后命令行窗口会提示" services searchd installed successfully"。

 

4、配置csft文件 (在 coreseek\etc\csft_mysql.conf 文件)

 

5、创建索引,php api调用,完成.

 

索引:Windows下面为bin\indexer -c etc\csft.conf --all

搜索:Windows下面为bin\searchd -c etc\csft.conf --console

php接口:

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值