public class CrawlerProcess extends Object implements CrawlerAPI
Constructor and Description |
---|
CrawlerProcess(String tmpFolder) |
Modifier and Type | Method and Description |
---|---|
int |
indexWebsite(UpdatableIndex index,
int linkdepth,
String url)
Crawls a website and adds the documents to the specified index
|
public CrawlerProcess(String tmpFolder)
public int indexWebsite(UpdatableIndex index, int linkdepth, String url)
CrawlerAPI
indexWebsite
in interface CrawlerAPI
index
- - an UpdatableIndexlinkdepth
- - number of links to followurl
- - hostnameTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow