project.getId(), version.getVersion());
logger.warn(message);
} else {
String apiDocUrl = version.getApiDocUrl().replace("/index.html", "") + "/allclasses-frame.html";
ApiDocumentMapper apiDocumentMapper = new ApiDocumentMapper(project, version);
CrawledWebDocumentProcessor apiDocProcessor =
new CrawledWebDocumentProcessor(searchService, apiDocumentMapper);
crawlerService.crawl(apiDocUrl, 2, apiDocProcessor);
String refDocUrl = version.getRefDocUrl();
ReferenceDocumentSearchEntryMapper documentMapper =
new ReferenceDocumentSearchEntryMapper(project, version);
CrawledWebDocumentProcessor refDocProcessor =
new CrawledWebDocumentProcessor(searchService, documentMapper);
crawlerService.crawl(refDocUrl, 1, refDocProcessor);
}
}
}