该版本有性能问题,请慎重使用,新版本已回归GITLAB.
$ npm install --save -g serarchEngine
oh~ my Allah.
this project isn't publish.....
$ NODE_ENV=development node app.js -d
and you know config this index name
$ NODE_ENV=development node app.js -a
$ NODE_ENV=development DEBUG=server:* PORT=8080 node server.js
use pm2 and you know
$ NODE_ENV=production PORT=8080 pm2 start server.js --name searchEngine
$ npm install
and you know 4 serach
post http://127.0.0.1:6110/searchEngine/api/articles/search
{
//搜索关键字 q:'关键字搜索',
//排序 sort: { fieldName: 'asc', fieldName2:[order:'desc']}
}
MIT © lianghongpeng