public class SolrQueryParameterAccessor extends QueryParameterAccessor
_blackboard, _config, _parametersAttribute, _recordId, DEFAULT_PARAMETERS_ATTRIBUTE
Constructor and Description |
---|
SolrQueryParameterAccessor(Blackboard blackboard,
AnyMap configuration,
java.lang.String queryRecordId)
Constructor.
|
SolrQueryParameterAccessor(Blackboard blackboard,
java.lang.String queryRecordId)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
AnyMap |
getFilterGroups()
returns the map containing the configs for the filter groups or null.
|
AnyMap |
getFilterLocalParams()
returns the localParams map from
SolrConstants.QUERY_MAP for the requested filter group or null. |
AnyMap |
getFilterLocalParams(java.lang.String filterGroup,
boolean create)
returns the localParams map from
SolrConstants.QUERY_MAP for the requested filter group or null. |
AnySeq |
getFilterQuery()
Get filter query.
|
AnyMap |
getMoreLikeThis()
Get request handler.
|
java.lang.String |
getRequestHandler()
Get request handler.
|
AnySeq |
getShards()
Get shards.
|
AnyMap |
getSolrQueryParams() |
AnyMap |
getSpellcheck()
Get spellcheck.
|
AnyMap |
getTerms()
Get terms.
|
getFacetByConfig, getFilter, getFilterAttributeNames, getFilters, getGroupbyConfig, getHighlightConfig, getIndexName, getLanguage, getMaxCount, getOffset, getQuery, getQueryAttributeValues, getQueryRequired, getRankingConfig, getResultAttributes, getSortByAttributeNames, getSortByConfig, getSortOrder, getThreshold, hasFilters, hasGroupbyConfig, hasHighlightConfig, hasQueryAttribute, hasQueryAttributes, setCurrentRecord, setPipeletConfiguration
getBooleanParameter, getFloatParameter, getIntParameter, getParameter, getParameterAny, getParameterAttribute, getParameters, getRequiredBooleanParameter, getRequiredFloatParameter, getRequiredIntParameter, getRequiredParameter, getRequiredParameters, getSubParameter, getSubParameters, setParameterAttribute
public SolrQueryParameterAccessor(Blackboard blackboard, java.lang.String queryRecordId) throws BlackboardAccessException
blackboard
- the blackboard.queryRecordId
- the query record id.BlackboardAccessException
public SolrQueryParameterAccessor(Blackboard blackboard, AnyMap configuration, java.lang.String queryRecordId) throws BlackboardAccessException
blackboard
- the blackboard.configuration
- the configuration.queryRecordId
- the query record id.BlackboardAccessException
public java.lang.String getRequestHandler()
public AnyMap getTerms()
public AnySeq getFilterQuery()
public AnySeq getShards()
public AnyMap getSpellcheck()
public AnyMap getSolrQueryParams()
public AnyMap getMoreLikeThis()
public AnyMap getFilterGroups()
public AnyMap getFilterLocalParams()
SolrConstants.QUERY_MAP
for the requested filter group or null.public AnyMap getFilterLocalParams(java.lang.String filterGroup, boolean create)
SolrConstants.QUERY_MAP
for the requested filter group or null.filterGroup
- the filter groupcreate
- if true, then the intermediate maps are creared if missing.