Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
4.0
-
*Location*: http://stage.docs.couchbase.com/4.0/admin/Views/sv-writing-views-arrays.html
*User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36
*Referrer*: http://stage.docs.couchbase.com/4.0/admin/Views/sv-writing-views.html
*Screen Resolution*: 1440 x 900
*Location*: http://stage.docs.couchbase.com/4.0/admin/Views/sv-writing-views-arrays.html *User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36 *Referrer*: http://stage.docs.couchbase.com/4.0/admin/Views/sv-writing-views.html *Screen Resolution*: 1440 x 900
Description
Single values
When a single value is used in the key, it expands to a collapsed range. For example, the [1, 2] value is stored as [[1, 1], [2, 2]].
emit([10.9, 48.4], null);
-------
the emit example is not related to the text above. would be good to use the same numbers in the text and example and explain what the example with emit shows for clarity.