当前位置:网站首页>Coreseek:第二步建索引及測试
Coreseek:第二步建索引及測试
2022-07-07 21:50:00 【全栈程序员站长】
大家好,又见面了,我是全栈君。
1,建索引非常easy。一行代码
g:/service/coreseek/bin/indexer -c g:/service/coreseek/etc/csft_mysql.conf person
前面是你bin文件夹下的indexer程序 后面-c指后面会跟配置文件 然后是配置文件地址 最好都用绝对地址 在后面是索引 也能够用–all 即对配置文件的全部部分都做索引
然后写成一个批处理文件。这样比較方便。
2.如今就能够在命令行下做測试了。
測试英文:g:\service\coreseek\bin\search -c g:\service\coreseek\etc\csft_mysql.conf w
最后一个參数是检索内容,随便改
測试中文:echo 制动液| iconv -f gbk -t utf-8 | bin\search -c g:\service\coreseek\etc\csft_mysql.conf –stdin | iconv -f utf-8 -t gbk
搜索结果会出现非常多乱码。没关系也非常正常
最好在批处理文件结里面再加上
::timeout /t 1 pause
能够讲界面继续保持在屏幕上看
假设搜索结果没问题,那么说明你的配置文件应该是成功的。能够进入API调用了
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/116206.html原文链接:https://javaforall.cn
边栏推荐
猜你喜欢
UE4_UE5全景相机
Interview questions: how to test app performance?
[record of question brushing] 3 Longest substring without duplicate characters
The wonderful relationship between message queue and express cabinet
Develop those things: go plus c.free to free memory, and what are the reasons for compilation errors?
Brush question 4
海内外技术人们“看”音视频技术的未来
U盘拷贝东西时,报错卷错误,请运行chkdsk
Wechat forum exchange applet system graduation design completion (6) opening defense ppt
PMP project management exam pass Formula-1
随机推荐
USB (十七)2022-04-15
Talk about DART's null safety feature
ArcGIS: field assignment_ The attribute table field calculator assigns values to fields based on conditions
Inftnews | web5 vs Web3: the future is a process, not a destination
网格(Grid)
微信论坛交流小程序系统毕业设计毕设(4)开题报告
USB (十八)2022-04-17
Cases of agile innovation and transformation of consumer goods enterprises
每日一题——PAT乙级1002题
./ setup. Insufficient sh permission
UE4_UE5蓝图command节点的使用(开启关闭屏幕响应-log-发布全屏显示)
Network security sqlmap and DVWA explosion
Handling file exceptions
USB(十六)2022-04-28
[language programming] exe virus code example
聊聊支付流程的设计与实现逻辑
Brush question 5
Wechat forum exchange applet system graduation design completion (6) opening defense ppt
ArcGIS:矢量要素相同字段属性融合的两种方法
Locate to the bottom [easy to understand]