当前位置:网站首页>Coreseek: the second step is index building and testing

Coreseek: the second step is index building and testing

2022-07-07 23:20:00 Full stack programmer webmaster

Hello everyone , I meet you again , I'm the king of the whole stack .

1, Indexing is very easy. One line of code

g:/service/coreseek/bin/indexer -c g:/service/coreseek/etc/csft_mysql.conf person

In front of you bin Under folder indexer Program Back -c Refers to the following configuration file Then there is the configuration file address It's best to use absolute addresses Next is the index It can also be used –all That is, index all parts of the configuration file

Then write a batch file . This is more convenient .

2. Now you can test on the command line .

Test English :g:\service\coreseek\bin\search -c g:\service\coreseek\etc\csft_mysql.conf w

The last parameter is to retrieve the content , Literally change

Test Chinese :echo Brake fluid | iconv -f gbk -t utf-8 | bin\search -c g:\service\coreseek\etc\csft_mysql.conf –stdin | iconv -f utf-8 -t gbk

There will be a lot of garbled code in search results . It doesn't matter and it's very normal

It is better to add

::timeout /t 1 pause

Be able to keep the interface on the screen

Assuming the search results are OK , Then it means that your configuration file should be successful . Can enter API Called

Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/116206.html Link to the original text :https://javaforall.cn

原网站

版权声明
本文为[Full stack programmer webmaster]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207072149335008.html