func (s *IndicesGetFieldMappingService) Field(fields ...string) *IndicesGetFieldMappingService {
	s.field = append(s.field, fields...)
	return s
}
Field is a list of fields.
package elastic
import (
	"context"
	"fmt"
	"net/url"
	"strings"
	"github.com/olivere/elastic/uritemplates"
)
type IndicesGetFieldMappingService struct {
	client            *Client
	pretty            bool
	index             []string
	typ               []string
	field             []string
	local             *bool
	ignoreUnavailable *bool
	allowNoIndices    *bool
	expandWildcards   string
}
func NewGetFieldMappingService(client *Client) *IndicesGetFieldMappingService {
	return NewIndicesGetFieldMappingService(client)
}
func NewIndicesGetFieldMappingService(client *Client) *IndicesGetFieldMappingService {
	return &IndicesGetFieldMappingService{
		client: client,
	}
}
func (s *IndicesGetFieldMappingService) Index(indices ...string) *IndicesGetFieldMappingService {
	s.index = append(s.index, indices...)
	return s
}
func (s *IndicesGetFieldMappingService) Type(types ...string) *IndicesGetFieldMappingService {
	s.typ = append(s.typ, types...)
	return s
}