public class MtasSolrComponentList extends Object implements MtasSolrComponent<CodecComponent.ComponentList>
Modifier and Type | Field and Description |
---|---|
private static org.apache.commons.logging.Log |
log
The Constant log.
|
static String |
NAME
The Constant NAME.
|
static String |
NAME_MTAS_LIST_FIELD
The Constant NAME_MTAS_LIST_FIELD.
|
static String |
NAME_MTAS_LIST_KEY
The Constant NAME_MTAS_LIST_KEY.
|
static String |
NAME_MTAS_LIST_LEFT
The Constant NAME_MTAS_LIST_LEFT.
|
static String |
NAME_MTAS_LIST_NUMBER
The Constant NAME_MTAS_LIST_NUMBER.
|
static String |
NAME_MTAS_LIST_OUTPUT
The Constant NAME_MTAS_LIST_OUTPUT.
|
static String |
NAME_MTAS_LIST_PREFIX
The Constant NAME_MTAS_LIST_PREFIX.
|
static String |
NAME_MTAS_LIST_QUERY_IGNORE
The Constant NAME_MTAS_LIST_QUERY_IGNORE.
|
static String |
NAME_MTAS_LIST_QUERY_MAXIMUM_IGNORE_LENGTH
The Constant NAME_MTAS_LIST_QUERY_MAXIMUM_IGNORE_LENGTH.
|
static String |
NAME_MTAS_LIST_QUERY_PREFIX
The Constant NAME_MTAS_LIST_QUERY_PREFIX.
|
static String |
NAME_MTAS_LIST_QUERY_TYPE
The Constant NAME_MTAS_LIST_QUERY_TYPE.
|
static String |
NAME_MTAS_LIST_QUERY_VALUE
The Constant NAME_MTAS_LIST_QUERY_VALUE.
|
static String |
NAME_MTAS_LIST_QUERY_VARIABLE
The Constant NAME_MTAS_LIST_QUERY_VARIABLE.
|
static String |
NAME_MTAS_LIST_RIGHT
The Constant NAME_MTAS_LIST_RIGHT.
|
static String |
NAME_MTAS_LIST_START
The Constant NAME_MTAS_LIST_START.
|
static String |
PARAM_MTAS_LIST
The Constant PARAM_MTAS_LIST.
|
(package private) MtasSolrSearchComponent |
searchComponent
The search component.
|
static String |
SUBNAME_MTAS_LIST_QUERY_VARIABLE_NAME
The Constant SUBNAME_MTAS_LIST_QUERY_VARIABLE_NAME.
|
static String |
SUBNAME_MTAS_LIST_QUERY_VARIABLE_VALUE
The Constant SUBNAME_MTAS_LIST_QUERY_VARIABLE_VALUE.
|
Constructor and Description |
---|
MtasSolrComponentList(MtasSolrSearchComponent searchComponent)
Instantiates a new mtas solr component list.
|
Modifier and Type | Method and Description |
---|---|
org.apache.solr.common.util.SimpleOrderedMap<Object> |
create(CodecComponent.ComponentList list,
Boolean encode)
Creates the.
|
void |
distributedProcess(org.apache.solr.handler.component.ResponseBuilder rb,
CodecComponent.ComponentFields mtasFields)
Distributed process.
|
void |
finishStage(org.apache.solr.handler.component.ResponseBuilder rb)
Finish stage.
|
void |
modifyRequest(org.apache.solr.handler.component.ResponseBuilder rb,
org.apache.solr.handler.component.SearchComponent who,
org.apache.solr.handler.component.ShardRequest sreq)
Modify request.
|
void |
prepare(org.apache.solr.handler.component.ResponseBuilder rb,
CodecComponent.ComponentFields mtasFields)
Prepare.
|
private static final org.apache.commons.logging.Log log
public static final String NAME
MtasSolrSearchComponent searchComponent
public static final String PARAM_MTAS_LIST
public static final String NAME_MTAS_LIST_FIELD
public static final String NAME_MTAS_LIST_QUERY_TYPE
public static final String NAME_MTAS_LIST_QUERY_VALUE
public static final String NAME_MTAS_LIST_QUERY_PREFIX
public static final String NAME_MTAS_LIST_QUERY_IGNORE
public static final String NAME_MTAS_LIST_QUERY_MAXIMUM_IGNORE_LENGTH
public static final String NAME_MTAS_LIST_QUERY_VARIABLE
public static final String SUBNAME_MTAS_LIST_QUERY_VARIABLE_NAME
public static final String SUBNAME_MTAS_LIST_QUERY_VARIABLE_VALUE
public static final String NAME_MTAS_LIST_KEY
public static final String NAME_MTAS_LIST_PREFIX
public static final String NAME_MTAS_LIST_START
public static final String NAME_MTAS_LIST_NUMBER
public static final String NAME_MTAS_LIST_LEFT
public static final String NAME_MTAS_LIST_RIGHT
public static final String NAME_MTAS_LIST_OUTPUT
public MtasSolrComponentList(MtasSolrSearchComponent searchComponent)
searchComponent
- the search componentpublic void prepare(org.apache.solr.handler.component.ResponseBuilder rb, CodecComponent.ComponentFields mtasFields) throws IOException
MtasSolrComponent
prepare
in interface MtasSolrComponent<CodecComponent.ComponentList>
rb
- the rbmtasFields
- the mtas fieldsIOException
- Signals that an I/O exception has occurred.public void modifyRequest(org.apache.solr.handler.component.ResponseBuilder rb, org.apache.solr.handler.component.SearchComponent who, org.apache.solr.handler.component.ShardRequest sreq)
MtasSolrComponent
modifyRequest
in interface MtasSolrComponent<CodecComponent.ComponentList>
rb
- the rbwho
- the whosreq
- the sreqpublic void distributedProcess(org.apache.solr.handler.component.ResponseBuilder rb, CodecComponent.ComponentFields mtasFields)
MtasSolrComponent
distributedProcess
in interface MtasSolrComponent<CodecComponent.ComponentList>
rb
- the rbmtasFields
- the mtas fieldspublic org.apache.solr.common.util.SimpleOrderedMap<Object> create(CodecComponent.ComponentList list, Boolean encode)
MtasSolrComponent
create
in interface MtasSolrComponent<CodecComponent.ComponentList>
list
- the responseencode
- the encodepublic void finishStage(org.apache.solr.handler.component.ResponseBuilder rb)
MtasSolrComponent
finishStage
in interface MtasSolrComponent<CodecComponent.ComponentList>
rb
- the rbCopyright © 2018 Meertens Institute. All rights reserved.