1, very easy to index, code line
G:/service/coreseek/bin/indexer-c g:/service/coreseek/etc/csft_mysql.conf Person
In front of you bin folder indexer program after-C refers to the configuration file followed by the configuration file address preferably with an absolute address at the back of the index can also be used to--all all parts of the configuration file is indexed
It is easier to write a batch file.
2. It is now possible to test under the command line.
Test English: G:\service\coreseek\bin\search-c g:\service\coreseek\etc\csft_mysql.conf W
The last parameter is the content of the search, change it casually
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
Very many garbled characters appear in the search results. No, it's perfectly normal.
Preferably in a batch file, add
:: timeout/t 1
Pause
To be able to speak the interface and keep it on the screen.
Assuming the search results are not a problem, then your profile should be successful, enter the API call
Copyright notice: This article Bo Master original article. Blog, not reproduced without consent.
Coreseek: Second step for indexing and testing construction