Suggester is designed as a web service for providing input suggestions.
Go to file
Lunny Xiao 9513ab03a2
All checks were successful
continuous-integration/drone/push Build is passing
fix tests
2019-06-26 17:00:38 +08:00
suggester add stats support 2017-06-26 15:07:50 +08:00
.drone.yml fix tests 2019-06-26 17:00:38 +08:00
go.mod convert to go mod and update README 2019-06-26 16:57:25 +08:00
go.sum convert to go mod and update README 2019-06-26 16:57:25 +08:00
index_test.go init project 2017-06-26 14:03:25 +08:00
index.go add stats support 2017-06-26 15:07:50 +08:00
main.go convert to go mod and update README 2019-06-26 16:57:25 +08:00
README.md convert to go mod and update README 2019-06-26 16:57:25 +08:00

Suggester

Build Status

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.