Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.0-developer-preview-4
-
Security Level: Public
-
None
-
cb 2.0
Description
I have 2 design docs. One with a _count reduce function and another without any reduce.
I'm running these query params against both of them:
{"start_key" : "[2008,7,1]", [ "startkey_docid" : "admin0000-2008_7_1", ["end_key" : "[2008,2,20]", [ "endkey_docid" : "arch0000-2008_2_20", [ "descending" : "true", "inclusive_end" : "false"},
Results from ddoc without reduce show:
- cat without_reduce.txt | grep key | wc -l
7240
Query with ddoc shows and extra document:
- cat with_reduce.txt | grep value {"key":null,"value":7241}
I think inclusive_end isn't being honored in this case and always set to true.
full query:
"http://10.2.2.10:8092/default/_design/dev_test_view-15182ce/_view/dev_test_view-15182ce?end_key=%5B2008,2,20%5D&inclusive_end=false&startkey_docid=admin0000-2008_7_1&endkey_docid=arch0000-2008_2_20&descending=true&debug=true&start_key=%5B2008,7,1%5D&connection_timeout=60000&full_set=true"
full results and design docs for each attached