FinderModelSearch::getTermsQuery

Method to get a subquery for filtering link ids mapped to specific terms ids.