Lunny Xiao
9513ab03a2
All checks were successful
continuous-integration/drone/push Build is passing
|
||
---|---|---|
suggester | ||
.drone.yml | ||
go.mod | ||
go.sum | ||
index_test.go | ||
index.go | ||
main.go | ||
README.md |
Suggester
Suggester is designed as a web service for providing input suggestions. It has 4 URLs,
- Status
GET /:prefix/status
- Add Index
PUT /:prefix/:unit_id/:word/:id
- Del Index
DELETE /:prefix/:unit_id/:word/:id
- Search Index
GET /:prefix/:unit_id/:word
Also you can use suggester
sub package to operate it.