anchor.diff:  // NOTCONSOLE
   <1> Using `params` allows to compile the script only once, even if params change.
   
  -
  -===== Decay functions for geo fields
  +[[decay-functions-geo-fields]]
  +====== Decay functions for geo fields
   
   * `double decayGeoLinear(String originStr, String scaleStr, String offsetStr, double decay, GeoPoint docValue)`
   
  
positive.code: --------------------------------------------------
  // NOTCONSOLE
  
  ===== sigmoid
  `sigmoid(value, k, a) = value^a/ (k^a + value^a)`
  
  [source,js]
  
negative.code: // NOTCONSOLE
  
  [[random-score-function]]
  ====== Random score function
  `random_score` function generates scores that are uniformly distributed
  from 0 up to but not including 1.
  
  