Difference between revisions of "SMILA/Documentation/Crawler"
|Line 26:||Line 26:|
Revision as of 04:33, 19 March 2009
What does Crawler do
A Crawler gathers information about resources, both content and metadata of interest like size or mime type.
SMILA contains three types of crawlers, each for a different data source type, namely WebCrawler, JDBC DatabaseCrawler, and FileSystemCrawler to facilitate gathering information from the internet, databases, or files from a hard disk.
Furthermore, the Connectivity Framework provides an API for developers to create own crawlers.
A Crawler is started with a specific, named configuration, that defines what information is to be crawled (e.g. content, kinds of metadata) and where to find that data (e.g. file system path, JDBC Connection String).
The CrawlerController manages the life cycle of the crawler (e.g. start, stop, abort) and may instantiate multiple Crawlers concurrently, even of the same type.