162163164165166167168169170171172
// solr supports separating by comma or spaces if (fl != null) { if (!Strings.hasText(fl)) { searchSourceBuilder.noFields(); } else { searchSourceBuilder.fields(fl.split("\\s|,")); } } // handle sorting if (sort != null) {
164165166167168169170171172173174