|
Carrot2 v3.6.0-SNAPSHOT
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.carrot2.core.ProcessingComponentBase
org.carrot2.source.SearchEngineBase
org.carrot2.source.MultipageSearchEngine
org.carrot2.source.microsoft.Bing2DocumentSource
org.carrot2.source.microsoft.Bing2ImageDocumentSource
public class Bing2ImageDocumentSource
Image search document source fetching from Bing using Bing2 API.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.carrot2.source.microsoft.Bing2DocumentSource |
|---|
Bing2DocumentSource.BingResponse, Bing2DocumentSource.ImageResponse, Bing2DocumentSource.ImageResult, Bing2DocumentSource.NewsResponse, Bing2DocumentSource.NewsResult, Bing2DocumentSource.Thumbnail, Bing2DocumentSource.WebResponse, Bing2DocumentSource.WebResult |
| Nested classes/interfaces inherited from class org.carrot2.source.MultipageSearchEngine |
|---|
MultipageSearchEngine.SearchEngineResponseCallable, MultipageSearchEngine.SearchMode, MultipageSearchEngine.SearchRange |
| Field Summary |
|---|
| Fields inherited from class org.carrot2.source.microsoft.Bing2DocumentSource |
|---|
adult, appid, CARROTSEARCH_APPID, market, MAX_CONCURRENT_THREADS, options |
| Fields inherited from class org.carrot2.source.MultipageSearchEngine |
|---|
searchMode |
| Fields inherited from class org.carrot2.source.SearchEngineBase |
|---|
compressed, documents, query, results, resultsTotal, start, statistics |
| Constructor Summary | |
|---|---|
Bing2ImageDocumentSource()
Initialize source type properly. |
|
| Method Summary | |
|---|---|
protected void |
appendSourceParams(ArrayList<org.apache.http.NameValuePair> params)
Append any source-specific parameters. |
void |
process()
Process the query. |
| Methods inherited from class org.carrot2.source.microsoft.Bing2DocumentSource |
|---|
addIfNotEmpty, createFetcher |
| Methods inherited from class org.carrot2.source.MultipageSearchEngine |
|---|
collectDocuments, process, runQuery |
| Methods inherited from class org.carrot2.source.SearchEngineBase |
|---|
afterFetch, clean, urlEncode |
| Methods inherited from class org.carrot2.core.ProcessingComponentBase |
|---|
afterProcessing, beforeProcessing, dispose, getContext, getSharedExecutor, init |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.carrot2.core.IProcessingComponent |
|---|
afterProcessing, beforeProcessing, dispose, init |
| Constructor Detail |
|---|
public Bing2ImageDocumentSource()
| Method Detail |
|---|
public void process()
throws ProcessingException
process in interface IProcessingComponentprocess in class Bing2DocumentSourceProcessingException - when processing failed. If thrown, the
IProcessingComponent.afterProcessing() method will be called and the component will
be ready to accept further requests or to be disposed of. Finally, the
exception will be rethrown from the controller method that caused the
component to perform processing.protected void appendSourceParams(ArrayList<org.apache.http.NameValuePair> params)
Bing2DocumentSource
appendSourceParams in class Bing2DocumentSource
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||