couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "View_collation" by BrianCandler
Date Mon, 09 Nov 2009 20:55:47 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "View_collation" page has been changed by BrianCandler.
The comment on this change is: Document raw collation option.
http://wiki.apache.org/couchdb/View_collation?action=diff&rev1=10&rev2=11

--------------------------------------------------

  startkey="_design/"&endkey="_design0"
  }}}
  
+ == Raw collation ==
+ 
+ To squeeze a little more performance out of views, you can specify {{{ "options":{"collation":"raw"}
}}} within the view definition for native Erlang collation, especially if you don't require
UCA. This gives a different collation sequence:
+ 
+ {{{
+ 1
+ false
+ null
+ true
+ {"a":"a"},
+ ["a"]
+ "a"
+ }}}
+ 
+ Beware that `{}` is no longer a suitable "high" key sentinel value. Use a string like "~~~~~"
instead.
+ 

Mime
View raw message