for (ScoreDoc scoreDoc : scoreDocs) {
SearchHit hit = new SearchHit();
hit.setScore(scoreDoc.score);
int docid = scoreDoc.doc;
Document doc = multiReader.document(docid);
String content = doc.get("content");
Scorer qs = new QueryScorer(q);
SimpleHTMLFormatter formatter = new SimpleHTMLFormatter("<span class=\"hl\">", "</span>");