Awesome; thanks Jens! (particularly for the super-speedy confirmation that 
I wasn't screwing up something obvious)

cheers,

b

On Wednesday, April 29, 2015 at 3:41:25 PM UTC-7, Jens Alfke wrote:
>
>
> On Apr 29, 2015, at 3:28 PM, Ben Kennedy <[email protected] 
> <javascript:>> wrote:
>
> Does prefixMatchLevel not work for "all docs" queries? I did not see such 
> a caveat mentioned anywhere.
>
>
> Crap, it looks like it doesn’t! allDocs is implemented separately from 
> view queries, even though they’re very similar, and it looks like the bozo 
> who implemented prefixMatchLevel [i.e. me] forgot that and only implemented 
> it for view queries. I’ve filed an issue 
> <https://github.com/couchbase/couchbase-lite-ios/issues/683>.
>
> The “append a Z” technique will work, although it’s safer to use some 
> other Unicode character that’s higher than anything that might occur in the 
> docID.
>
> —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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/ae5068cf-0e41-4572-9d97-aeeefb7a6fd5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to