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
Ranges
Ranges for keys are used, for example, with shops with certain opening hours such as 10:00 - 20:00.
emit([[1000, 2000]], null);
in the text at the top of the page we say only numbers and geojson is supported but using timestamps in this example. Lets explicitly explain that the example converts the values of 10:00 - 20:00 to 1000 and 2000 to prevent confusion.