loading erlang terms

Charles Blair chas at uchicago.edu
Tue Oct 26 12:37:46 EDT 2010


Btw, the documentation has this:

encode_term(Object, Term) ->
    riakc_obj:update_value(Object, term_to_binary(Term, [compressed]),
                           <<"application/x-erlang-term">>).

This gave me the idea that perhaps by encoding the content type as application/x-erlang-term I could get things to work as I envisioned they might, but I couldn't.





More information about the riak-users mailing list