当前位置:网站首页>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
边栏推荐
- iNFTnews | Web5 vs Web3:未来是一个过程,而不是目的地
- 网络安全-钓鱼
- Wechat forum exchange applet system graduation design (3) background function
- 网络安全-sqlmap与DVWA爆破
- Adults have only one main job, but they have to pay a price. I was persuaded to step back by personnel, and I cried all night
- Software test classification
- Network security - information query of operating system
- Matlab-SEIR传染病模型预测
- Unity3D学习笔记4——创建Mesh高级接口
- Install a new version of idea. Double click it to open it
猜你喜欢

How to operate DTC community?

Anta DTC | Anta transformation, building a growth flywheel that is not only FILA

Transform XL translation

PMP project management exam pass Formula-1

Technology at home and abroad people "see" the future of audio and video technology

Oracle-数据库的备份与恢复

聊聊支付流程的设计与实现逻辑
![[microservices SCG] gateway integration Sentinel](/img/f3/410d7228b4b253ebf41015a785099f.png)
[microservices SCG] gateway integration Sentinel

ArcGIS:矢量要素相同字段属性融合的两种方法

Use JfreeChart to generate curves, histograms, pie charts, and distribution charts and display them to jsp-2
随机推荐
Byte hexadecimal binary understanding
Matlab-SEIR传染病模型预测
网络安全-联合查询注入
网络安全-对操作系统进行信息查询
iNFTnews | NFT技术的广泛应用及其存在的问题
Talk about DART's null safety feature
Use JfreeChart to generate curves, histograms, pie charts, and distribution charts and display them to JSP-1
Wechat forum exchange applet system graduation design completion (8) graduation design thesis template
七月第一周
Mitsubishi PLC SLmP (MC) protocol
微信论坛交流小程序系统毕业设计毕设(3)后台功能
Digital collections accelerated out of the circle, and marsnft helped diversify the culture and tourism economy!
It's no exaggeration to say that this is the most user-friendly basic tutorial of pytest I've ever seen
Two kinds of curves in embedded audio development
14、 Two methods of database export and import
Network security -burpsuit
Are the microorganisms in the intestines the same as those on the skin?
Some parameters of Haikang IPC
Guessing game (read data from file)
iNFTnews | Web5 vs Web3:未来是一个过程,而不是目的地