public static class IdolDocumentSourceDescriptor.AttributeBuilder extends MultipageSearchEngineDescriptor.AttributeBuilder
IdolDocumentSource 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 |
IdolDocumentSourceDescriptor.AttributeBuilder(Map<String,Object> map)
Creates a builder backed by the provided map.
|
| Modifier and Type | Method and Description |
|---|---|
IdolDocumentSourceDescriptor.AttributeBuilder |
idolServerName(org.carrot2.util.attribute.IObjectFactory<? extends String> value)
URL of the IDOL Server.
|
IdolDocumentSourceDescriptor.AttributeBuilder |
idolServerName(String value)
URL of the IDOL Server.
|
IdolDocumentSourceDescriptor.AttributeBuilder |
idolServerPort(int value)
IDOL Server Port.
|
IdolDocumentSourceDescriptor.AttributeBuilder |
idolServerPort(org.carrot2.util.attribute.IObjectFactory<? extends Integer> value)
IDOL Server Port.
|
IdolDocumentSourceDescriptor.AttributeBuilder |
maximumResults(int value)
Maximum number of results.
|
IdolDocumentSourceDescriptor.AttributeBuilder |
maximumResults(org.carrot2.util.attribute.IObjectFactory<? extends Integer> value)
Maximum number of results.
|
IdolDocumentSourceDescriptor.AttributeBuilder |
minScore(int value)
Minimum IDOL Score.
|
IdolDocumentSourceDescriptor.AttributeBuilder |
minScore(org.carrot2.util.attribute.IObjectFactory<? extends Integer> value)
Minimum IDOL Score.
|
IdolDocumentSourceDescriptor.AttributeBuilder |
otherSearchAttributes(org.carrot2.util.attribute.IObjectFactory<? extends String> value)
Any other search attributes (separated by &) from the Autonomy Query Search
API's Ensure all the attributes are entered to satisfy XSL that will be applied.
|
IdolDocumentSourceDescriptor.AttributeBuilder |
otherSearchAttributes(String value)
Any other search attributes (separated by &) from the Autonomy Query Search
API's Ensure all the attributes are entered to satisfy XSL that will be applied.
|
IdolDocumentSourceDescriptor.AttributeBuilder |
resultsPerPage(int value)
Results per page.
|
IdolDocumentSourceDescriptor.AttributeBuilder |
resultsPerPage(org.carrot2.util.attribute.IObjectFactory<? extends Integer> value)
Results per page.
|
IdolDocumentSourceDescriptor.AttributeBuilder |
userAgent(org.carrot2.util.attribute.IObjectFactory<? extends String> value)
User agent header.
|
IdolDocumentSourceDescriptor.AttributeBuilder |
userAgent(String value)
User agent header.
|
IdolDocumentSourceDescriptor.AttributeBuilder |
userName(org.carrot2.util.attribute.IObjectFactory<? extends String> value)
User name to use for authentication.
|
IdolDocumentSourceDescriptor.AttributeBuilder |
userName(String value)
User name to use for authentication.
|
IdolDocumentSourceDescriptor.AttributeBuilder |
xslTemplateName(org.carrot2.util.attribute.IObjectFactory<? extends String> value)
IDOL XSL Template Name.
|
IdolDocumentSourceDescriptor.AttributeBuilder |
xslTemplateName(String value)
IDOL XSL Template Name.
|
searchMode, searchModecompressed, documents, query, query, results, results, resultsTotal, start, startpublic IdolDocumentSourceDescriptor.AttributeBuilder idolServerName(String value)
IdolDocumentSource.idolServerNamepublic IdolDocumentSourceDescriptor.AttributeBuilder idolServerName(org.carrot2.util.attribute.IObjectFactory<? extends String> value)
IdolDocumentSource.idolServerNamepublic IdolDocumentSourceDescriptor.AttributeBuilder idolServerPort(int value)
IdolDocumentSource.idolServerPortpublic IdolDocumentSourceDescriptor.AttributeBuilder idolServerPort(org.carrot2.util.attribute.IObjectFactory<? extends Integer> value)
IdolDocumentSource.idolServerPortpublic IdolDocumentSourceDescriptor.AttributeBuilder xslTemplateName(String value)
IdolDocumentSource.xslTemplateNamepublic IdolDocumentSourceDescriptor.AttributeBuilder xslTemplateName(org.carrot2.util.attribute.IObjectFactory<? extends String> value)
IdolDocumentSource.xslTemplateNamepublic IdolDocumentSourceDescriptor.AttributeBuilder otherSearchAttributes(String value)
public IdolDocumentSourceDescriptor.AttributeBuilder otherSearchAttributes(org.carrot2.util.attribute.IObjectFactory<? extends String> value)
public IdolDocumentSourceDescriptor.AttributeBuilder resultsPerPage(int value)
IdolDocumentSource.resultsPerPagepublic IdolDocumentSourceDescriptor.AttributeBuilder resultsPerPage(org.carrot2.util.attribute.IObjectFactory<? extends Integer> value)
IdolDocumentSource.resultsPerPagepublic IdolDocumentSourceDescriptor.AttributeBuilder minScore(int value)
IdolDocumentSource.minScorepublic IdolDocumentSourceDescriptor.AttributeBuilder minScore(org.carrot2.util.attribute.IObjectFactory<? extends Integer> value)
IdolDocumentSource.minScorepublic IdolDocumentSourceDescriptor.AttributeBuilder maximumResults(int value)
IdolDocumentSource.maximumResultspublic IdolDocumentSourceDescriptor.AttributeBuilder maximumResults(org.carrot2.util.attribute.IObjectFactory<? extends Integer> 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 userAgent(org.carrot2.util.attribute.IObjectFactory<? extends 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.userNamepublic IdolDocumentSourceDescriptor.AttributeBuilder userName(org.carrot2.util.attribute.IObjectFactory<? extends String> value)
IdolDocumentSource.userName