public SearchHelper prepareSummary() {
if (redirect != null || errorMsg != null) {
return this;
}
try {
sourceContext = new Context(query, builder.getQueries());
summerizer = new Summarizer(query, new CompatibleAnalyser());
} catch (Exception e) {
OpenGrokLogger.getLogger().log(Level.WARNING, "Summerizer: {0}", e.getMessage());
}
try {