当前位置:网站首页>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
边栏推荐
- Wechat forum exchange applet system graduation design (3) background function
- 小程序多种开发方式对比-跨端?低代码?原生?还是云开发?
- Wechat forum exchange applet system graduation design completion (4) opening report
- Why does the market need low code?
- 二叉树(Binary Tree)
- 每日一题——PAT乙级1002题
- Network security sqlmap and DVWA explosion
- Network security - joint query injection
- opencv scalar传入三个参数只能显示黑白灰问题解决
- Interview questions: how to test app performance?
猜你喜欢
Talk about the design and implementation logic of payment process
The wonderful relationship between message queue and express cabinet
Matlab 信号处理【问答随笔·2】
聊聊 Dart 的空安全 (null safety) 特性
【微服务|SCG】gateway整合sentinel
微信论坛交流小程序系统毕业设计毕设(2)小程序功能
Develop those things: go plus c.free to free memory, and what are the reasons for compilation errors?
Wechat forum exchange applet system graduation design completion (8) graduation design thesis template
STL标准模板库(Standard Template Library)一周学习总结
Oracle-数据库的备份与恢复
随机推荐
Adrnoid开发系列(二十五):使用AlertDialog创建各种类型的对话框
Line test - graphic reasoning - 1 - Chinese character class
Unity3D学习笔记5——创建子Mesh
Use JfreeChart to generate curves, histograms, pie charts, and distribution charts and display them to JSP-1
ArcGIS:字段赋值_属性表字段计算器(Field Calculator)依据条件为字段赋值
Personal statement of testers from Shuangfei large factory: is education important for testers?
网格(Grid)
每日一题——PAT乙级1002题
Gbu1510-asemi power supply special 15A rectifier bridge gbu1510
I wish you all the best and the year of the tiger
leetcode-520. 检测大写字母-js
七月第一周
Network security sqlmap and DVWA explosion
Introduction to redis and jedis and redis things
力扣解法汇总648-单词替换
Cascade-LSTM: A Tree-Structured Neural Classifier for Detecting Misinformation Cascades-KDD2020
Wechat forum exchange applet system graduation design (5) assignment
Matlab-SEIR传染病模型预测
智慧社區和智慧城市之間有什麼异同
[language programming] exe virus code example