code: func newView(path, index, field, name string, fieldOptions FieldOptions) *view {
  	return &view{
  		path:  path,
  		index: index,
  		field: field,
  		name:  name,
  
  		fieldType: fieldOptions.Type,
  		cacheType: fieldOptions.CacheType,
  		cacheSize: fieldOptions.CacheSize,
  
  		fragments: make(map[uint64]*fragment),
  
  		broadcaster: NopBroadcaster,
  		stats:       stats.NopStatsClient,
  		logger:      logger.NopLogger,
  	}
  }
docs: // newView returns a new instance of View.