AdvancedContentHighlighter advancedHighlighter = new WhitespaceVectorBolder(hConfig);
int documentId = 0;
Query pQuery = parser.parse("word1");
IndexReader reader = lucene.getReader();
Query rQuery = pQuery.rewrite(reader);
String highlighted = advancedHighlighter.highlight(rQuery, reader, documentId, "content");
}
public void testBoostingWithCRRecencyBoostingQueryParser() throws ParseException, CorruptIndexException, IOException {
Query orginalQuery = parser.parse("word1");