anchor.diff:  Need more context?
   
   Check out the <<elasticsearch-intro,
  -Elasticsearch Introduction>> to learn the lingo and understand the basics of
  +{es} Introduction>> to learn the lingo and understand the basics of
   how {es} works. If you're already familiar with {es} and want to see how it works
   with the rest of the stack, you might want to jump to the
   {stack-gs}/get-started-elastic-stack.html[Elastic Stack
  
positive.code: --------------------------------------------------
  // TESTRESPONSE[s/"took": 29/"took": $body.took/]
  
  We can see that there are 27 accounts in `ID` (Idaho), followed by 27 accounts
  in `TX` (Texas), followed by 25 accounts in `AL` (Alabama), and so forth.
  
  Note that we set `size=0` to not show search hits because we only want to see the aggregation results in the response.
  
  Building on the previous aggregation, this example calculates the average account balance by state (again only for the top 10 states sorted by count in descending order):
  
  [source,js]
  --------------------------------------------------
  
negative.code: // CONSOLE
  // TEST[continued]
  
  Instead of sorting the results by count, you could sort using the result of
  the nested aggregation by specifying the order within the `terms` aggregation:
  
  [source,js]
  --------------------------------------------------
  