revert back term dict and PBF change
change lucene 40 as well, pass compilation only