you can see how erlang sorts by using a erlang terminal, e.g, erl > lists:sort(["a","A","b","B", "0", "9", "+"]). ["+","0","9","A","B","a","b"]
etc. On 16 March 2012 15:39, Daniel Gonzalez <[email protected]> wrote: > On Fri, Mar 16, 2012 at 4:30 PM, Robert Newson <[email protected]> wrote: >> Ah, thanks, that's good advice. You can still grab a bunch of the >> uuids from /_uuids and then use them, thus giving you good uuids and >> idempotency too. >> >> b. >> > > Understood. But this would not solve the doc_id size problem, which in > my database with 22 million documents has a big effect. So I need to > generate a doc_id on the clien side with few characters. Which brings > me back to my originial question: could somebody produce a base64 > dictionary which is "Erlang term ordered"?
