Simple indexing and querying for leveldb