Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sumory/nodis
Prefix match search and Segment words search built on Node.js and Redis
https://github.com/sumory/nodis
Last synced: 3 months ago
JSON representation
Prefix match search and Segment words search built on Node.js and Redis
- Host: GitHub
- URL: https://github.com/sumory/nodis
- Owner: sumory
- Created: 2012-08-06T07:10:37.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-02-15T14:53:30.000Z (almost 11 years ago)
- Last Synced: 2024-04-15T11:29:29.431Z (9 months ago)
- Language: JavaScript
- Size: 321 KB
- Stars: 16
- Watchers: 5
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Nodis
**Nodis** - 通用文本前缀匹配搜索和模糊搜索服务程序,基于Node.js和Redis.
### 使用- 使用Zookeeper和Thrift:
```
- 启动redis
- 启动服务端node NodisServer.js(会注册zookeeper服务)
- 根据thrift/nodis.thrift提供的接口实现客户端(或直接用/thrift/gen-nodejs里生成的客户端代码)
- 通过zookeeper拿到服务地址,并通过thrift客户端调用接口测试
```- 直接使用Nodis, 示例`Nodis.js`
### 其它- 前缀匹配搜索(如User), 提供了app.js用作web端参考实现