Partial Selection and Key Ranges
Sun, 02/10/2013 - 13:28
Hi,
The "Partial Selection and Key Ranges" section of the documentation (http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-views-writi...) mentions appending \u0000 to the startkey to get an endkey that will limit returned keys to be those prefixed by the startkey. This doesn't seem to work, is this a mistake in the documentation, I see elsewhere mention of \uefff which seems to work for this.
Thanks,
Matt
Hello Matt,
You are right it looks like a bug in our documentation, most of the time developer are using as you state "\uefff" or "\u02ad".
http://blog.couchbase.com/understanding-letter-ordering-view-queries
So if you are looking for a range for all key starting with A you can do
I have capture this issue in the following bug: http://www.couchbase.com/issues/browse/MB-7722
Regards
Tug
@tgrall