I have filed an issue over GitHub 
<https://github.com/couchbase/couchbase-lite-ios/issues/1976>.

On Tuesday, November 14, 2017 at 11:11:12 PM UTC+5:30, Jens Alfke wrote:
>
>
>
> > On Nov 10, 2017, at 5:19 AM, parvez....@decurtis.com <javascript:> 
> wrote: 
> > 
> > Even after specifying groupLevel as 3, I always receive four elements in 
> each row of keys array of reduce block. Also If I specify startKey / endKey 
> then query do not return any result (reduce block is not executed) but if I 
> omit startKey / endKey then I am able to get results in reduce function. I 
> have made sure that couchbase is having records corresponding to values 
> specified in startKey/EndKey but still then it do not works. I am using 
> Couchbase lite 1.3.1 (build 6) with iOS Swift 3.0. 
> > 
> > How this issue cab be troubleshooted? 
>
> Thinking further … the group-level shouldn’t affect the calls to the 
> reduce function, so that part is behaving correctly. (In CouchDB, reducing 
> happens when the index is built, not at query time at all; CBL can’t 
> perform that optimization, but it still follows the same semantics of the 
> reduce function.) 
>
> The part about startKey/endKey might be a bug, though. You can file an 
> issue, but please provide detailed information such as the contents of the 
> documents, and the exact parameters of the query. 
>
> Are you actually getting incorrect results from the query? If so, what did 
> you expect and what did you get? 
>
> —Jens 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mobile-couchbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/a7b69077-3448-4220-a25a-d521b7c064a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to