// Fall back, take the area name as a search query
if (currentDirectory == null) {
boolean foundMatches = false;
if (areaName != null && areaName.length() > 0) {
log.debug("searching for unknown area name: " + areaName);
WikiSearch wikiSearch = (WikiSearch) Component.getInstance(WikiSearch.class);
wikiSearch.setSimpleQuery(areaName);
wikiSearch.search();
foundMatches = wikiSearch.getTotalCount() > 0;
}
if (foundMatches) {
log.debug("found search results");
return "search";
} else {