| java.lang.Object websphinx.searchengine.HotBot
priority | final public static float priority(Code) | | Priority of this classifier.
|
classify | public void classify(Page page)(Code) | | Classify a page. Sets the following labels:
Name | Type | Meaning
|
---|
searchengine.source | Page label | HotBot object that labeled this page
| searchengine.count | Page field | Number of results on page
| searchengine.results | Page fields | Array of results. Each result region
contains subfields: rank, title, description, and link.
| searchengine.more-results | Link label | Link to a page containing more results.
|
|
getPriority | public float getPriority()(Code) | | Get priority of this classifier.
priority. |
getResultsPerPage | public int getResultsPerPage()(Code) | | Get number of results per page for this search engine.
typical number of results per page |
makeQuery | public URL makeQuery(String keywords)(Code) | | Make a query URL for HotBot.
Parameters: keywords - list of keywords, separated by spaces URL that submits the keywords to HotBot. |
search | public static Search search(String keywords)(Code) | | Search HotBot.
Parameters: keywords - list of keywords, separated by spaces enumeration of SearchEngineResults returned by a HotBot query constructed from the keywords. |
search | public static Search search(String keywords, int maxResults)(Code) | | Search HotBot.
Parameters: keywords - list of keywords, separated by spaces Parameters: maxResults - maximum number of results to return enumeration of SearchEngineResults returned by an HotBot query constructed from the keywords.The enumeration yields at most maxResults objects. |
|
|