You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: search-request-sort_532ddf9afdcd0b1c9c0bb331e74d8df3_test.go
    path of file: ./repos/go-elasticsearch/.doc/examples/src
    
    the code of the file until where you have to start completion: // Licensed to Elasticsearch B.V. under one or more contributor
// license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright
// ownership. 
    
func Test_search_request_sort_532ddf9afdcd0b1c9c0bb331e74d8df3(t *testing.T) {
	es, _ := elasticsearch.NewDefaultClient()

	// tag:532ddf9afdcd0b1c9c0bb331e74d8df3[]
	res, err := es.Indices.Create(
		"index_long",
		es.Indices.Create.WithBody(strings.NewReader(`{
		  "mappings": {
		    "properties": {
		      "field": {
		        "type": "long"
		      }
		    }
		  }
		}`)),
	)
	fmt.Println(res, err)
	if err != nil { // SKIP
		t.Fatalf("Error getting the response: %s", err) // SKIP
	} // SKIP
	defer res.Body.Close() // SKIP
	// end:532ddf9afdcd0b1c9c0bb331e74d8df3[]
}