public class WebsiteSearch extends Object
| Modifier and Type | Class and Description | 
|---|---|
| class  | WebsiteSearch.WebsiteCrawlerThreadThis 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 Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow