|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--websphinx.searchengine.HotBot
HotBot search engine.
| Field Summary | |
static float |
priority
Priority of this classifier. |
| Constructor Summary | |
HotBot()
|
|
| Method Summary | |
void |
classify(Page page)
Classify a page. |
float |
getPriority()
Get priority of this classifier. |
int |
getResultsPerPage()
Get number of results per page for this search engine. |
java.net.URL |
makeQuery(java.lang.String keywords)
Make a query URL for HotBot. |
static Search |
search(java.lang.String keywords)
Search HotBot. |
static Search |
search(java.lang.String keywords,
int maxResults)
Search HotBot. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final float priority
| Constructor Detail |
public HotBot()
| Method Detail |
public void classify(Page page)
| 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. |
classify in interface Classifierwebsphinx.Classifierpage - Page to classifypublic float getPriority()
getPriority in interface Classifierpublic java.net.URL makeQuery(java.lang.String keywords)
makeQuery in interface SearchEnginekeywords - list of keywords, separated by spacespublic int getResultsPerPage()
getResultsPerPage in interface SearchEnginepublic static Search search(java.lang.String keywords)
keywords - list of keywords, separated by spaces
public static Search search(java.lang.String keywords,
int maxResults)
keywords - list of keywords, separated by spacesmaxResults - maximum number of results to return
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||