public class MtasSolrComponentStatus extends Object implements MtasSolrComponent<CodecComponent.ComponentStatus>
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_STATUS_KEY
The Constant NAME_MTAS_STATUS_KEY.
|
static String |
NAME_MTAS_STATUS_MTASHANDLER |
static String |
NAME_MTAS_STATUS_NUMBEROFDOCUMENTS |
static String |
NAME_MTAS_STATUS_NUMBEROFSEGMENTS |
static String |
PARAM_MTAS_STATUS
The Constant PARAM_MTAS_STATUS.
|
(package private) MtasSolrSearchComponent |
searchComponent
The search component.
|
Constructor and Description |
---|
MtasSolrComponentStatus(MtasSolrSearchComponent searchComponent)
Instantiates a new mtas solr component status.
|
Modifier and Type | Method and Description |
---|---|
org.apache.solr.common.util.SimpleOrderedMap<Object> |
create(CodecComponent.ComponentStatus status,
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
MtasSolrSearchComponent searchComponent
public static final String NAME
public static final String PARAM_MTAS_STATUS
public static final String NAME_MTAS_STATUS_KEY
public static final String NAME_MTAS_STATUS_MTASHANDLER
public static final String NAME_MTAS_STATUS_NUMBEROFSEGMENTS
public static final String NAME_MTAS_STATUS_NUMBEROFDOCUMENTS
public MtasSolrComponentStatus(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.ComponentStatus>
rb
- the rbmtasFields
- the mtas fieldsIOException
- Signals that an I/O exception has occurred.public org.apache.solr.common.util.SimpleOrderedMap<Object> create(CodecComponent.ComponentStatus status, Boolean encode) throws IOException
MtasSolrComponent
create
in interface MtasSolrComponent<CodecComponent.ComponentStatus>
status
- the responseencode
- the encodeIOException
- 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.ComponentStatus>
rb
- the rbwho
- the whosreq
- the sreqpublic void finishStage(org.apache.solr.handler.component.ResponseBuilder rb)
MtasSolrComponent
finishStage
in interface MtasSolrComponent<CodecComponent.ComponentStatus>
rb
- the rbpublic void distributedProcess(org.apache.solr.handler.component.ResponseBuilder rb, CodecComponent.ComponentFields mtasFields) throws IOException
MtasSolrComponent
distributedProcess
in interface MtasSolrComponent<CodecComponent.ComponentStatus>
rb
- the rbmtasFields
- the mtas fieldsIOException
- Signals that an I/O exception has occurred.Copyright © 2018 Meertens Institute. All rights reserved.