// Generated from search-search_d2146e521344c5baa4984cf9147f18f2_test.go
//
[source, go]
----
res, err := es.Search(
	es.Search.WithIndex("my-index-000001"),
	es.Search.WithQuery("user.id:kimchy"),
	es.Search.WithPretty(),
)
fmt.Println(res, err)
----
