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 4.0. Copyright © 2004-2014 University of Glasgow