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