func (s *SearchShardsService) Routing(routing string) *SearchShardsService {
	s.routing = routing
	return s
}
Routing sets a specific routing value.
package elastic
import (
	"context"
	"fmt"
	"net/url"
	"strings"
	"time"
	"github.com/olivere/elastic/uritemplates"
)
type SearchShardsService struct {
	client            *Client
	pretty            bool
	index             []string
	routing           string
	local             *bool
	preference        string
	ignoreUnavailable *bool
	allowNoIndices    *bool
	expandWildcards   string
}
func NewSearchShardsService(client *Client) *SearchShardsService {
	return &SearchShardsService{
		client: client,
	}
}
func (s *SearchShardsService) Index(index ...string) *SearchShardsService {
	s.index = append(s.index, index...)
	return s
}
func (s *SearchShardsService) Local(local bool) *SearchShardsService {
	s.local = &local
	return s
}