{"provider_name":"Hatena Blog","published":"2018-10-20 23:23:48","url":"https://blog.basyura.org/entry/2018/10/20/232348","blog_url":"https://blog.basyura.org/","author_name":"basyura","author_url":"https://blog.hatena.ne.jp/basyura/","version":"1.0","description":"go \u3067 elasticsearch \u306b\u63a5\u7d9a\u3002 package main import ( \"context\" \"encoding/json\" \"fmt\" \"github.com/olivere/elastic\" ) func main() { client, err := elastic.NewClient( elastic.SetURL(\"http://127.0.0.1:9200\"), elastic.SetSniff(false)) if err != nil { panic(err) } defer client.Stop() ctx := context.Background() \u2026","image_url":null,"categories":["golang"],"title":"golang - elasticsearch","blog_title":"basyura's blog","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.basyura.org%2Fentry%2F2018%2F10%2F20%2F232348\" title=\"golang - elasticsearch - basyura&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","width":"100%","type":"rich"}