In trying to understand the RocksDB code for WordNet example (wn.pl) came upon
add_to_clause_index(DB, PI, Spec, _:Head, CRef), integer(Spec) =>
arg(Spec, Head, Arg),
term_hash(Arg, 1, 2147483647, Hash),
assertion(nonvar(Hash)), % TBD: variables in the head
pred_index_key(PI, Spec, Hash, CRef, Key),
rocks_put(DB, Key, 1).
Is this for use with RocksDB prefix seek?