public static String compare(SolrDocument a, SolrDocument b, int flags, Map<String, Integer> handle) { return compare(a.getFieldValuesMap(), b.getFieldValuesMap(), flags, handle); }
private static SearchResultDocument convertToSearchResultDocument( SolrDocument solrDoc) { return new BaseSearchResultDocument( (String) solrDoc.getFieldValue("DocId"), solrDoc.getFieldValuesMap()); }
Map<String, Collection<Object>> values = doc.getFieldValuesMap();