generic property indexer for leveldb