Giter Club home page Giter Club logo

aiweibang.searchengine's Introduction

NPM version Build Status Dependency Status

该版本有性能问题,请慎重使用,新版本已回归GITLAB.

Install

$ npm install --save -g serarchEngine

oh~ my Allah.

this project isn't publish.....

Usage

app.js

delete this config index

$ NODE_ENV=development node app.js -d

create and mapping this config index

and you know config this index name

create index_v1 and aliases index
$ NODE_ENV=development node app.js -a 

server.js

start server listen to localhost:6110 or PORT=8080 and you know

$ NODE_ENV=development DEBUG=server:* PORT=8080 node server.js

Production

use pm2 and you know

$ NODE_ENV=production PORT=8080 pm2 start server.js --name searchEngine

Preparation

$ npm install

Features

and you know 4 serach

search

post http://127.0.0.1:6110/searchEngine/api/articles/search

{

//搜索关键字 q:'关键字搜索',

//排序 sort: { fieldName: 'asc', fieldName2:[order:'desc']}

}

License

MIT © lianghongpeng

aiweibang.searchengine's People

Contributors

ngnono avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.