String mimeType = getStringValueFromSolrField(solrDocument, SolrFieldName.MIMETYPE.toString());
String title = getStringValueFromSolrField(solrDocument, SolrFieldName.TITLE.toString());
long enhancementCount = (Long) solrDocument.getFieldValue(SolrFieldName.ENHANCEMENTCOUNT.toString());
String dereferencableURI = baseURI != null ? (baseURI + "contenthub/" + indexName + "/store/content/" + id) : null;
title = (title == null || title.trim().equals("") ? id : title);
DocumentResultImpl resultantDocument = new DocumentResultImpl(id, dereferencableURI, mimeType,
enhancementCount, title);
return resultantDocument;
}