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 |
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, searchMode
compressed, documents, query, query, results, results, resultsTotal, start, start
public IdolDocumentSourceDescriptor.AttributeBuilder idolServerName(String value)
IdolDocumentSource.idolServerName
public IdolDocumentSourceDescriptor.AttributeBuilder idolServerName(org.carrot2.util.attribute.IObjectFactory<? extends String> value)
IdolDocumentSource.idolServerName
public IdolDocumentSourceDescriptor.AttributeBuilder idolServerPort(int value)
IdolDocumentSource.idolServerPort
public IdolDocumentSourceDescriptor.AttributeBuilder idolServerPort(org.carrot2.util.attribute.IObjectFactory<? extends Integer> value)
IdolDocumentSource.idolServerPort
public IdolDocumentSourceDescriptor.AttributeBuilder xslTemplateName(String value)
IdolDocumentSource.xslTemplateName
public IdolDocumentSourceDescriptor.AttributeBuilder xslTemplateName(org.carrot2.util.attribute.IObjectFactory<? extends String> value)
IdolDocumentSource.xslTemplateName
public IdolDocumentSourceDescriptor.AttributeBuilder otherSearchAttributes(String value)
IdolDocumentSource.otherSearchAttributes
public IdolDocumentSourceDescriptor.AttributeBuilder otherSearchAttributes(org.carrot2.util.attribute.IObjectFactory<? extends String> value)
IdolDocumentSource.otherSearchAttributes
public IdolDocumentSourceDescriptor.AttributeBuilder resultsPerPage(int value)
IdolDocumentSource.resultsPerPage
public IdolDocumentSourceDescriptor.AttributeBuilder resultsPerPage(org.carrot2.util.attribute.IObjectFactory<? extends Integer> value)
IdolDocumentSource.resultsPerPage
public IdolDocumentSourceDescriptor.AttributeBuilder minScore(int value)
IdolDocumentSource.minScore
public IdolDocumentSourceDescriptor.AttributeBuilder minScore(org.carrot2.util.attribute.IObjectFactory<? extends Integer> value)
IdolDocumentSource.minScore
public IdolDocumentSourceDescriptor.AttributeBuilder maximumResults(int value)
IdolDocumentSource.maximumResults
public IdolDocumentSourceDescriptor.AttributeBuilder maximumResults(org.carrot2.util.attribute.IObjectFactory<? extends Integer> value)
IdolDocumentSource.maximumResults
public 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.userAgent
public 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.userAgent
public IdolDocumentSourceDescriptor.AttributeBuilder userName(String value)
IdolDocumentSource.userName
public IdolDocumentSourceDescriptor.AttributeBuilder userName(org.carrot2.util.attribute.IObjectFactory<? extends String> value)
IdolDocumentSource.userName