public class WebsiteSearch extends Object
Modifier and Type | Class and Description |
---|---|
class |
WebsiteSearch.WebsiteCrawlerThread
This represents an instance that performs the crawling of
a specified website.
|
Constructor and Description |
---|
WebsiteSearch()
Creates a new website search system
|
Modifier and Type | Method and Description |
---|---|
void |
crawlWebsite(String website,
int pageDepth)
Crawls a specified website, following links to a maximum depth of pageDepth.
|
CollectionStatistics |
getCollectionStatistics() |
SearchRequest |
search(String query,
int rankingDepth) |
void |
writeIndex(String path,
String prefix) |
public CollectionStatistics getCollectionStatistics()
public SearchRequest search(String query, int rankingDepth)
public void crawlWebsite(String website, int pageDepth)
website
- pageDepth
- Terrier 4.0. Copyright © 2004-2014 University of Glasgow