code: func (s *IndicesAnalyzeService) PreferLocal(preferLocal bool) *IndicesAnalyzeService {
  	s.preferLocal = &preferLocal
  	return s
  }
docs: // PreferLocal, when true, specifies that a local shard should be used
  // if available. When false, a random shard is used (default: true).