public BoolQueryBuilder minimumNumberShouldMatch(int minimumNumberShouldMatch){
  this.minimumShouldMatch=Integer.toString(minimumNumberShouldMatch);
  return this;
}

public BoolQueryBuilder minimumNumberShouldMatch ( int minimumNumberShouldMatch ) { this . minimumShouldMatch = Integer . toString ( minimumNumberShouldMatch ) ; return this ; }
specifies a minimum number of the optional ( should ) boolean clauses which must be satisfied . < p / > < p > by default no optional clauses are necessary for a match ( unless there are no required clauses ) . if this method is used , then the specified number of clauses is required . < p / > < p > use of this method is totally independent of specifying that any specific clauses are required ( or prohibited ) . this number will only be compared against the number of matching optional clauses .
