public ConstantScoreQueryBuilder(QueryBuilder filterBuilder){
  this.filterBuilder=Objects.requireNonNull(filterBuilder);
}

public ConstantScoreQueryBuilder ( QueryBuilder filterBuilder ) { this . filterBuilder = Objects . requireNonNull ( filterBuilder ) ; }
a query that wraps a query and simply returns a constant score equal to the query boost for every document in the query .
