public class BlockJoinFacetComponent extends SearchComponent
ToParentBlockJoinQuery.
It disables query result cache but only when it's ebaled for request by child.facet.field parameterSolrInfoMBean.Category| Modifier and Type | Field and Description |
|---|---|
static String |
CHILD_FACET_FIELD_PARAMETER |
static String |
COLLECTOR_CONTEXT_PARAM |
static String |
NO_TO_PARENT_BJQ_MESSAGE |
standard_components| Constructor and Description |
|---|
BlockJoinFacetComponent() |
| Modifier and Type | Method and Description |
|---|---|
void |
finishStage(ResponseBuilder rb)
Called after all responses have been received for this stage.
|
String |
getDescription()
Simple one or two line description
|
void |
handleResponses(ResponseBuilder rb,
ShardRequest sreq)
Called after all responses for a single request were received
|
void |
prepare(ResponseBuilder rb)
Prepare the response.
|
void |
process(ResponseBuilder rb)
Process the request for this component
|
protected void |
validateQuery(Query query) |
distributedProcess, getCategory, getDocs, getName, getSource, getStatistics, getVersion, init, modifyRequest, setNamepublic static final String CHILD_FACET_FIELD_PARAMETER
public static final String NO_TO_PARENT_BJQ_MESSAGE
public static final String COLLECTOR_CONTEXT_PARAM
public void prepare(ResponseBuilder rb) throws IOException
SearchComponentSearchComponent.process(org.apache.solr.handler.component.ResponseBuilder) method.
Called for every incoming request.
The place to do initialization that is request dependent.prepare in class SearchComponentrb - The ResponseBuilderIOException - If there is a low-level I/O error.protected void validateQuery(Query query)
public void process(ResponseBuilder rb) throws IOException
SearchComponentprocess in class SearchComponentrb - The ResponseBuilderIOException - If there is a low-level I/O error.public void handleResponses(ResponseBuilder rb, ShardRequest sreq)
SearchComponenthandleResponses in class SearchComponentpublic void finishStage(ResponseBuilder rb)
SearchComponentfinishStage in class SearchComponentpublic String getDescription()
SolrInfoMBeangetDescription in interface SolrInfoMBeangetDescription in class SearchComponentCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.