ThesaurusManager thesaurusMan = gc.getBean(ThesaurusManager.class);
if(Log.isDebugEnabled("KeywordsManager")) Log.debug("KeywordsManager","Creating new keywords searcher");
searcher = new KeywordsSearcher(context, thesaurusMan);
searcher.search(context.getLanguage(), params);
searcher.sortResults(KeywordSort.defaultLabelSorter(SortDirection.DESC));
session
.setProperty(Geonet.Session.SEARCH_KEYWORDS_RESULT,
searcher);
} else {
searcher = (KeywordsSearcher) session