anchor.diff:  }
   ----
   ////
  +
  +Although similar, the `terms` value source doesn't support the same set of
  +parameters as the `terms` aggregation. For other supported value source
  +parameters, see:
  +
  +* <<_order>>
  +* <<_missing_bucket>>
   
   [[_histogram]]
   ===== Histogram
  
positive.code: [[_terms]]
  ===== Terms
  
  The `terms` value source is equivalent to a simple `terms` aggregation.
  The values are extracted from a field exactly like the `terms` aggregation.
  
  Example:
  
negative.code: \... will sort the composite bucket in descending order when comparing values from the `date_histogram` source
  and in ascending order when comparing values from the `terms` source.
  
  [[_missing_bucket]]
  ==== Missing bucket
  
  By default documents without a value for a given source are ignored.
  