add search method for Term object