* @param terms the hashmap in which to store the query terms.
* @param _required indicates whether the query term is required or not.
*/
public void obtainQueryTerms(MatchingQueryTerms terms, boolean _required) {
if (term != null)
terms.setTermProperty(term, weight, new RequiredTermModifier(_required));
}