code: func dialElastic(addr string, options graph.Options) (*elastic.Client, error) {
  	client, err := elastic.NewClient(elastic.SetURL(addr))
  	if err != nil {
  		return nil, err
  	}
  	return client, nil
  }
docs: // dialElastic connects to elasticsearch