package util

//import (
//	"gopkg.in/olivere/elastic.v5"
//)
//
//var ElasticClient *elastic.Client
var ElasticClientIndex,ElasticClientType,ElasticClientDB string

//func init() {
//	if eClient, err := elastic.NewClient(elastic.SetURL(util.ObjToString(Config["elasticsearch"])));err != nil{
//		log.Println(Config["elasticsearch"])
//		log.Fatalln("ElasticClient err:",err)
//	}else {
//		ElasticClient = eClient
//	}
//}