break out common HT stuff into indexers/common_ht.rb