|
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.idol.IdolDocumentSourceDescriptor.AttributeBuilder
public static class IdolDocumentSourceDescriptor.AttributeBuilder
Attribute map builder for the IdolDocumentSource 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 |
IdolDocumentSourceDescriptor.AttributeBuilder(Map<String,Object> map)
Creates a builder backed by the provided map. |
| 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 IdolDocumentSourceDescriptor.AttributeBuilder(Map<String,Object> map)
| Method Detail |
|---|
public IdolDocumentSourceDescriptor.AttributeBuilder idolServerName(String value)
IdolDocumentSource.idolServerNamepublic IdolDocumentSourceDescriptor.AttributeBuilder idolServerPort(int value)
IdolDocumentSource.idolServerPortpublic IdolDocumentSourceDescriptor.AttributeBuilder xslTemplateName(String value)
IdolDocumentSource.xslTemplateNamepublic IdolDocumentSourceDescriptor.AttributeBuilder otherSearchAttributes(String value)
IdolDocumentSource.otherSearchAttributespublic IdolDocumentSourceDescriptor.AttributeBuilder resultsPerPage(int value)
IdolDocumentSource.resultsPerPagepublic IdolDocumentSourceDescriptor.AttributeBuilder minScore(int value)
IdolDocumentSource.minScorepublic IdolDocumentSourceDescriptor.AttributeBuilder maximumResults(int value)
IdolDocumentSource.maximumResultspublic IdolDocumentSourceDescriptor.AttributeBuilder userAgent(String value)
null value is provided, the
following User-Agent will be sent:
Rome Client (http://tinyurl.com/64t5n)
Ver: UNKNOWN.
IdolDocumentSource.userAgentpublic IdolDocumentSourceDescriptor.AttributeBuilder userName(String value)
IdolDocumentSource.userName
|
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 | ||||||||