public QueryStringQueryBuilder field(String field){
  if (fields == null) {
    fields=new ArrayList<>();
  }
  fields.add(field);
  return this;
}

public QueryStringQueryBuilder field ( String field ) { if ( fields == null ) { fields = new ArrayList < > ( ) ; } fields . add ( field ) ; return this ; }
adds a field to run the query string against .
