On Oct 21, 2013, at 12:19 PM, Hank Knight <[email protected]> wrote:
> Can I do a search based on a case-insensitive key? > > For example "aBc" should return the same results as "AbB". It looks from the description of the collation algorithm* that it’s already mostly case-insensitive. (The comment says “case-sensitive” but I think what it means is that a lowercase string sorts before its uppercase equivalent.) Note that both “A” and “a” sort before “b” or “B”. So regardless of the case of the keys that got emitted, if you query with a key range of “abc” through “ABC” you should get all keys that are case-insensitively equal to “abc”. —Jens * http://wiki.apache.org/couchdb/View_collation#Collation_Specification
