118119120121122123124
{ child.obtainQueryTerms(terms, true); } ArrayList<Query> alist = new ArrayList<Query>(); this.getTerms(alist); terms.addDocumentScoreModifier(new PhraseScoreModifier(alist, proximityDistance)); }
139140141142143144145
{ child.obtainQueryTerms(terms, required); } ArrayList<Query> alist = new ArrayList<Query>(); this.getTerms(alist); terms.addDocumentScoreModifier(new PhraseScoreModifier(alist, required, proximityDistance)); }