【文件属性】:
文件名称:go-elasticsearch:Golang com Elasticsearch
文件大小:4KB
文件格式:ZIP
更新时间:2021-02-11 22:35:22
Go
Golang com Elasticsearch
Rodar o Elasticsearch com Docker
docker run -p 9200:9200 -p 9300:9300 -e " discovery.type=single-node " --rm --name elasticsearch -d docker.elastic.co/elasticsearch/elasticsearch:7.5.2
# test elasticsearch api
curl -X GET " localhost:9200/_cat/nodes?v&pretty "
Referência: :
科曼多斯
umum索引:
curl -X PUT http://localhost:9200/students ? pretty
赛达
{
" acknowledged " : tru
【文件预览】:
go-elasticsearch-master
----bulk.json(346B)
----main.go(1008B)
----client()
--------elasticsearch.go(254B)
----types()
--------types.go(2KB)
----readme.md(4KB)