This returns 3 rows:
https://zurv3aqzm.iriscouch.com/fruit/_design/zzz6/_view/zzz6?limit=3&group=true

I want to display the 3 rows with the highest value, not any arbitrary 3 rows.

Here is my code:

/// Map Function ///
function(doc) {
  if (doc.fruit) emit(doc.fruit, null);
}

/// Reduce Function ///
_count

/// Grouping: True ///

Reply via email to