1、下载coreseek-3.2.14-win32 (51CTO)
2、CMD命令行进入解压的文件夹执行 set PATH=%CD%\bin;%PATH%
3、常用命令
##【测试配置文件是否可用】
#bin\indexer -c etc\csft.conf
##【测试索引全部数据】
#bin\indexer -c etc\csft.conf --all
##【测试索引指定索引数据】
#bin\indexer -c etc\csft.conf xml
##【测试命令行搜索】
# bin\search -c etc\csft.conf
##【测试命令行中文搜索】
# bin\search -c etc\csft.conf -a 网络搜索
#内置了iconv命令,可以使用如下中文搜索指令进行测试:
echo 网络搜索 | iconv -f gbk -t utf-8 | search -c etc\csft.conf --stdin | iconv -f utf-8 -t gbk
#
##【测试搜索服务端】port=9312
# bin\searchd -c etc\csft.conf
##如要停止搜索服务,请使用ctrl+C停止
测试包内容说明:
csft 通用测试:(3.2.x与4.x均支持)
test.cmd:
测试对象:xml数据源,中文分词与搜索
对应配置:etc/csft.conf
测试数据:var/test/test.xml
PHP程序:api/test_coreseek.php
在线说明:http://www.coreseek.cn/products-install/install_on_windows/
test_cjk.cmd:
测试对象:xml数据源,单字切分与搜索
对应配置:etc/csft_cjk.conf
测试数据:var/test/test.xml
PHP程序:api/test_coreseek.php
在线说明:http://www.coreseek.cn/products-install/ngram_len_cjk/
test_mysql.cmd:
测试对象:mysql数据源,中文分词与搜索
对应配置:etc/csft_mysql.conf
测试数据:var/test/documents.sql
PHP程序:api/test_coreseek.php
测试说明:请先将测试数据导入数据库,并设置好配置文件中的MySQL用户密码数据库
在线说明:http://www.coreseek.cn/products-install/mysql/
coreseek安装使用指南
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
如何将 .nk2 文件导入至 Outlook 2010
lingping
2019-02-23 14:05:54
yum源配置
Knight4NUI
2019-02-23 14:02:46
ubuntu下更改ip地址
lzwing
2019-02-23 13:57:24
MySQL的主主同步
夢與時光眠
2019-02-23 13:51:55
CentOS ifcfg-ethX 常用参数
zinejo
2019-02-23 13:50:36
tomcat限制用域名访问 禁止 ip访问
張斌66
2019-02-23 13:44:28
Centos6.5 rsync同步备份
張斌66
2019-02-23 13:44:28
XP登录时提示“无法加载配置文件,找不到指定文件”
781732825
2019-02-23 13:43:04
centos上重要的一些配置文件(持续更新)
jijianzheng321
2019-02-23 13:42:18
Linux系统用setup菜单工具设置IP地址
zyos
2019-02-23 13:39:28
cetos增加虚拟内存的方法。
zyos
2019-02-23 13:39:28
Tomcat虚拟主机配置
心碎小胖子
2019-02-23 13:34:47
secure日志错误提示
心碎小胖子
2019-02-23 13:34:47
Linux系统中ftp服务的搭建
小陳102
2019-02-23 13:16:35
debian-apt-get usage
zinejo
2019-02-23 13:50:26