@Bindable(prefix="Bing5NewsDocumentSource",
inherit=CommonAttributes.class)
public class Bing5NewsDocumentSource
extends Bing5DocumentSource
IDocumentSource fetching news search results from Bing,
using Search API V5.
Important: there are limits for free use of the above API (beyond which it is a paid service).
MultipageSearchEngine.SearchEngineResponseCallable, MultipageSearchEngine.SearchMode, MultipageSearchEngine.SearchRange| Modifier and Type | Field and Description |
|---|---|
Freshness |
freshness
Filter news by age.
|
adult, apiKey, market, redirectStrategy, respectRateLimits, site, SYSPROP_BING5_APIsearchModecompressed, documents, POSTPROCESSING, query, results, resultsTotal, SERVICE, start, statistics| Constructor and Description |
|---|
Bing5NewsDocumentSource() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
augmentSearchParameters(List<org.apache.http.NameValuePair> params) |
protected void |
handleResponse(BingResponse response,
SearchEngineResponse ser) |
augmentSearchHeaders, createFetcher, process, processcollectDocuments, runQueryafterFetch, clean, urlEncodeafterProcessing, beforeProcessing, dispose, getContext, getSharedExecutor, initclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterProcessing, beforeProcessing, dispose, init@Processing @Input @Attribute @Label(value="Filter news by age") @Level(value=BASIC) @Group(value="Filtering") public Freshness freshness
protected void augmentSearchParameters(List<org.apache.http.NameValuePair> params)
augmentSearchParameters in class Bing5DocumentSourceprotected void handleResponse(BingResponse response, SearchEngineResponse ser)
handleResponse in class Bing5DocumentSource