|
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.source.SearchEngineBaseDescriptor.AttributeBuilder
org.carrot2.source.MultipageSearchEngineDescriptor.AttributeBuilder
org.carrot2.source.microsoft.Bing2DocumentSourceDescriptor.AttributeBuilder
org.carrot2.source.microsoft.Bing2WebDocumentSourceDescriptor.AttributeBuilder
public static class Bing2WebDocumentSourceDescriptor.AttributeBuilder
Attribute map builder for the Bing2WebDocumentSource component. You can use this
builder as a type-safe alternative to populating the attribute map using attribute keys.
| Field Summary | |
|---|---|
Map<String,Object> |
map
The attribute map populated by this builder. |
| Constructor Summary | |
|---|---|
protected |
Bing2WebDocumentSourceDescriptor.AttributeBuilder(Map<String,Object> map)
Creates a builder backed by the provided map. |
| Method Summary | |
|---|---|
Bing2WebDocumentSourceDescriptor.AttributeBuilder |
fileTypes(String value)
Specify the allowed file types. |
Bing2WebDocumentSourceDescriptor.AttributeBuilder |
site(String value)
Site restriction to return results under a given URL. |
Bing2WebDocumentSourceDescriptor.AttributeBuilder |
webOptions(String value)
Miscellaneous Web-request specific options. |
| Methods inherited from class org.carrot2.source.microsoft.Bing2DocumentSourceDescriptor.AttributeBuilder |
|---|
adult, adult, appid, market, market, options |
| Methods inherited from class org.carrot2.source.MultipageSearchEngineDescriptor.AttributeBuilder |
|---|
searchMode, searchMode |
| Methods inherited from class org.carrot2.source.SearchEngineBaseDescriptor.AttributeBuilder |
|---|
compressed, documents, query, results, resultsTotal, start |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final Map<String,Object> map
| Constructor Detail |
|---|
protected Bing2WebDocumentSourceDescriptor.AttributeBuilder(Map<String,Object> map)
| Method Detail |
|---|
public Bing2WebDocumentSourceDescriptor.AttributeBuilder webOptions(String value)
Options should be space-separated.
Bing2WebDocumentSource.webOptionspublic Bing2WebDocumentSourceDescriptor.AttributeBuilder fileTypes(String value)
Bing2WebDocumentSource.fileTypespublic Bing2WebDocumentSourceDescriptor.AttributeBuilder site(String value)
Bing2WebDocumentSource.site
|
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 | ||||||||