# README
主要是提供一些搜索服务客户端,比如常见的 Elasticsearch、solr
Elasticsearch
Elasticsearch 是当前比较流行的 搜索框架,这里提供两个库,第三方和官方的,特点各有千秋。
- 官方 https://github.com/elastic/go-elasticsearch star: 2700+
- 第三方https://github.com/olivere/elastic star: 5300+
第三方的这个已经不在维护,所以推荐使用官方的
Compatibility
The client major versions correspond to the compatible Elasticsearch major versions: to connect to Elasticsearch 7.x, use a 7.x version of the client, to connect to Elasticsearch 6.x, use a 6.x version of the client.
Reference
- https://medium.com/a-journey-with-go/go-elasticsearch-clients-study-case-dbaee1e02c7
- https://mp.weixin.qq.com/s?__biz=MzkyNzI1NzM5NQ==&mid=2247484756&idx=1&sn=6029ed72391e175ebef3de47bf9290a2&chksm=c22b8308f55c0a1eb0d06f4f5f7404e0ba33f6bb10a86f996dfbbd7b80b952e5bef97ce2344f&cur_album_id=1932372564102709257&scene=189#wechat_redirect
- https://discuss.elastic.co/t/go-elasticsearch-versus-olivere-golang-client/252248
- https://github.com/olivere/elastic/issues/1240
- https://www.elastic.co/guide/en/elasticsearch/reference/7.17/docker.html
- https://studygolang.com/articles/28869
# Functions
No description provided by the author
# Variables
No description provided by the author