websphinx.searchengine
Interface SearchEngine
- All Superinterfaces:
- Classifier, java.io.Serializable
- All Known Implementing Classes:
- Excite, MetaCrawler, NewsIndex, AltaVista, HotBot, NewsBot
- public interface SearchEngine
- extends Classifier
Abstract representation of a search engine.
Method Summary |
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 this search engine. |
makeQuery
public java.net.URL makeQuery(java.lang.String keywords)
- Make a query URL for this search engine.
- Parameters:
keywords
- list of keywords, separated by spaces- Returns:
- URL that submits the keywords to this search engine
getResultsPerPage
public int getResultsPerPage()
- Get number of results per page for this search engine.
- Returns:
- typical number of results per page