code: func (fn *ExponentialDecayFunction) Decay(decay float64) *ExponentialDecayFunction {
  	fn.decay = &decay
  	return fn
  }
docs: // Decay defines how documents are scored at the distance given a Scale.
  // If no decay is defined, documents at the distance Scale will be scored 0.5.