leveldb indexing with a simple query language