当前位置:网站首页>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
边栏推荐
- FPGA基础篇目录
- 网络安全-联合查询注入
- When copying something from the USB flash disk, an error volume error is reported. Please run CHKDSK
- Network security - joint query injection
- 十三、系统优化
- Network security CSRF
- Develop those things: go plus c.free to free memory, and what are the reasons for compilation errors?
- I wish you all the best and the year of the tiger
- Cascade-LSTM: A Tree-Structured Neural Classifier for Detecting Misinformation Cascades-KDD2020
- Wechat forum exchange applet system graduation design completion (1) development outline
猜你喜欢
消息队列与快递柜之间妙不可言的关系
Lecture 30 linear algebra Lecture 5 eigenvalues and eigenvectors
How to operate DTC community?
二叉树(Binary Tree)
[record of question brushing] 3 Longest substring without duplicate characters
V20变频器手自动切换(就地远程切换)的具体方法示例
When copying something from the USB flash disk, an error volume error is reported. Please run CHKDSK
JMeter interface automated test read case, execute and write back result
Wechat forum exchange applet system graduation design completion (1) development outline
[microservices SCG] gateway integration Sentinel
随机推荐
海内外技术人们“看”音视频技术的未来
648. 单词替换
Wechat forum exchange applet system graduation design (3) background function
Network security -beef
微信论坛交流小程序系统毕业设计毕设(8)毕业设计论文模板
U盘拷贝东西时,报错卷错误,请运行chkdsk
V20变频器手自动切换(就地远程切换)的具体方法示例
2021-01-12
GEE(三):计算两个波段间的相关系数与相应的p值
leetcode-520. 检测大写字母-js
Brush question 3
Inftnews | the wide application of NFT technology and its existing problems
iNFTnews | NFT技术的广泛应用及其存在的问题
[language programming] exe virus code example
微信论坛交流小程序系统毕业设计毕设(7)中期检查报告
小程序多种开发方式对比-跨端?低代码?原生?还是云开发?
JS triangle
【刷题记录】3. 无重复字符的最长子串
Redhat下安装fedora
力扣解法汇总648-单词替换