public class SearchTemplateContent
extends java.lang.Object
implements java.io.Serializable
The SearchTemplate* classes (those classes prefixed with "SearchTemplate") enable you to control and specify runtime modification of search template data.
SearchTemplateContentItem
,
Serialized FormConstructor and Description |
---|
SearchTemplateContent() |
Modifier and Type | Method and Description |
---|---|
java.util.List<SearchTemplateContentItem> |
getContentItems()
Retrieves the list of content search items to be used for the search.
|
java.lang.Integer |
getContentQueryDynamicThreshold()
Retrieves the dynamic threshold value that determines the content search optimization to use, content first or database first.
|
java.lang.Integer |
getContentQueryMaximumRecords()
Retrieves the maximum records setting to be used by the content search.
|
ContentQueryOptimization |
getContentQueryOptimization()
Retrieves the kind of optimization used for the content search, content first, database first, or dynamic threshold.
|
java.lang.Boolean |
getRank()
Retrieves a Boolean value indicating whether content search rank is to be used for the search.
|
java.lang.Boolean |
getSummary()
Retrieves a Boolean value indicating whether content search summary is to be used for the search.
|
void |
setContentItems(java.util.List<SearchTemplateContentItem> contentItems)
Specifies the content search items to be used for the search.
|
void |
setContentQueryDynamicThreshold(java.lang.Integer contentQueryDynamicThreshold)
Specifies the dynamic threshold value that determines the content search optimization to use, content first or database first.
|
void |
setContentQueryMaximumRecords(java.lang.Integer contentQueryMaximumRecords)
Specifies the maximum number of records to be returned by the content search.
|
void |
setContentQueryOptimization(ContentQueryOptimization contentQueryOptimization)
Specifies the kind of optimization used for content search, content first, database first, or dynamic threshold.
|
void |
setRank(java.lang.Boolean rank)
Specifies whether content search rank is to be used for the search.
|
void |
setSummary(java.lang.Boolean summary)
Specifies whether the content search summary is used for the search.
|
public java.lang.Boolean getRank()
Boolean
value of false
or null
if the
content search rank value in the search template is to be used; true
if the content search
rank value is to be supplied at runtime.public void setRank(java.lang.Boolean rank)
rank
- A Boolean
value. If false
or null
, the
content search rank setting in the search template is used, if true
, the content search rank
is used for the search.public java.lang.Boolean getSummary()
setSummary
method.Boolean
value of false
or null
if the
content search summary setting in the search template is to be used; true
if the content
search summary is to be used for the search.public void setSummary(java.lang.Boolean summary)
summary
- A Boolean
value. If false
or null
, the
content search summary setting in the search template is used, if true
, the content search summary
is used for the search.public java.util.List<SearchTemplateContentItem> getContentItems()
setContentItems
method.String
array (List
) of the content search items to be used
for the search.public void setContentItems(java.util.List<SearchTemplateContentItem> contentItems)
contentItems
- A String
array (List
) specifying the content
search items to be used for the search.public java.lang.Integer getContentQueryMaximumRecords()
setContentQueryMaximumRecords
method.Integer
indicating the maximum number of records to be returned by the content search.public void setContentQueryMaximumRecords(java.lang.Integer contentQueryMaximumRecords)
contentQueryMaximumRecords
- An Integer
indicating the maximum number of records to be returned by the
content search.public ContentQueryOptimization getContentQueryOptimization()
ContentQueryOptimization
value indicating the kind of optimization to use for the content search.public void setContentQueryOptimization(ContentQueryOptimization contentQueryOptimization)
getContentQueryDynamicThreshold
method.contentQueryOptimization
- A ContentQueryOptimization
value indicating the kind of optimization to use for the content search.
search.public java.lang.Integer getContentQueryDynamicThreshold()
Integer
value that the server uses to compare to its estimated number of CBR hits.public void setContentQueryDynamicThreshold(java.lang.Integer contentQueryDynamicThreshold)
contentQueryDynamicThreshold
- An Integer
value that the server uses to compare to its estimated number of CBR hits.© Copyright IBM Corporation 2006, 2015. All rights reserved.