Updated elasticsearch.go.