excerpt = highlighter.getExcerpt(doc, this, params, fieldsQuery, getAnalyzer()); searchResult = new CmsSearchResult( Math.round((hits.scoreDocs[i].score / hits.getMaxScore()) * 100f), doc,
searchResults.add(new CmsSearchResult(score, doc, excerpt));
excerpt = highlighter.getExcerpt(doc, this, params, fieldsQuery, getAnalyzer()); searchResult = new CmsSearchResult( Math.round((hits.scoreDocs[i].score / hits.getMaxScore()) * 100f), doc,
searchResults.add(new CmsSearchResult(score, doc, excerpt));