// Generated from docs-reindex_3ae03ba3b56e5e287953094050766738_test.go
//
[source, go]
----
{
	res, err := es.Indices.Refresh()
	fmt.Println(res, err)
}

{
	res, err := es.Search(
		es.Search.WithIndex("new_twitter"),
		es.Search.WithFilterPath("hits.total"),
		es.Search.WithSize(0),
		es.Search.WithPretty(),
	)
	fmt.Println(res, err)
}
----
