public static class Bing5NewsDocumentSourceDescriptor.AttributeBuilder extends Bing5DocumentSourceDescriptor.AttributeBuilder
Bing5NewsDocumentSource component. You can use this
builder as a type-safe alternative to populating the attribute map using attribute keys.| Modifier and Type | Field and Description |
|---|---|
Map<String,Object> |
map
The attribute map populated by this builder.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AttributeBuilder(Map<String,Object> map)
Creates a builder backed by the provided map.
|
| Modifier and Type | Method and Description |
|---|---|
Bing5NewsDocumentSourceDescriptor.AttributeBuilder |
freshness(Freshness value)
Filter news by age.
|
Bing5NewsDocumentSourceDescriptor.AttributeBuilder |
freshness(org.carrot2.util.attribute.IObjectFactory<? extends Freshness> value)
Filter news by age.
|
adult, adult, apiKey, apiKey, market, market, redirectStrategy, redirectStrategy, respectRateLimits, respectRateLimits, site, sitesearchMode, searchModecompressed, documents, query, query, results, results, resultsTotal, start, startpublic Bing5NewsDocumentSourceDescriptor.AttributeBuilder freshness(Freshness value)
Bing5NewsDocumentSource.freshnesspublic Bing5NewsDocumentSourceDescriptor.AttributeBuilder freshness(org.carrot2.util.attribute.IObjectFactory<? extends Freshness> value)
Bing5NewsDocumentSource.freshness