public SearchSourceBuilder fieldDataField(String name){
  if (fieldDataFields == null) {
    fieldDataFields=new ArrayList<>();
  }
  fieldDataFields.add(name);
  return this;
}

public SearchSourceBuilder fieldDataField ( String name ) { if ( fieldDataFields == null ) { fieldDataFields = new ArrayList < > ( ) ; } fieldDataFields . add ( name ) ; return this ; }
adds a field to load from the field data cache and return as part of the search request .
