msfrank/terane — Issue #40: store db keys as json strings and use rich compare
Author: msfrank
Created: 2012-02-23 05:08:14+00:00
State: open

the key format in the postings database is getting too ugly. in order to make keys any more complex (for example, to encode ITC stamps) it would be more intuitive to do a rich comparison of the data encoded in the key, not just a simple string comparison.

we should store the key as a string encoded using JSON, then unmarshal the JSON into a python object when comparing.