search-go:使用GO编写的使用Elasticsearch的搜索示例

时间:2021-05-02 00:40:20
【文件属性】:
文件名称:search-go:使用GO编写的使用Elasticsearch的搜索示例
文件大小:3KB
文件格式:ZIP
更新时间:2021-05-02 00:40:20
Go #Search-go 使用GO编写的使用Elasticsearch的搜索示例。 它使用进行索引,并返回带有电影的sw角色。 跑步: $ export ES_HOST= $ export ES_PORT= $ go get -d $ go build -o es es.go $ ./es 要与docker一起运行,请使用: $ docker run -e "ES_HOST= -e "ES_PORT=9200" -d -p 9000:9000 \ --name search-go search-go
【文件预览】:
search-go-master
----.gitignore(266B)
----Dockerfile(110B)
----templates()
--------index.html(24B)
--------search.html(218B)
----README.md(422B)
----es.go(4KB)

网友评论