public class QueryElevationComponent extends SearchComponent implements SolrCoreAware
SolrInfoBean.Category, SolrInfoBean.Group
Modifier and Type | Field and Description |
---|---|
static String |
BOOSTED |
static String |
BOOSTED_DOCIDS |
static String |
BOOSTED_PRIORITY |
static String |
EXCLUDED |
metricNames, registry, standard_components
Constructor and Description |
---|
QueryElevationComponent() |
Modifier and Type | Method and Description |
---|---|
static com.carrotsearch.hppc.IntIntHashMap |
getBoostDocs(SolrIndexSearcher indexSearcher,
Map<BytesRef,Integer> boosted,
Map context) |
String |
getDescription()
Simple one or two line description
|
void |
inform(SolrCore core) |
void |
init(NamedList args) |
void |
prepare(ResponseBuilder rb)
Prepare the response.
|
void |
process(ResponseBuilder rb)
Process the request for this component
|
distributedProcess, finishStage, getCategory, getMetricNames, getMetricRegistry, getName, handleResponses, modifyRequest, setName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMetricsSnapshot, registerMetricName
public static final String BOOSTED
public static final String BOOSTED_DOCIDS
public static final String BOOSTED_PRIORITY
public static final String EXCLUDED
public void init(NamedList args)
init
in interface NamedListInitializedPlugin
init
in class SearchComponent
public void inform(SolrCore core)
inform
in interface SolrCoreAware
public void prepare(ResponseBuilder rb) throws IOException
SearchComponent
SearchComponent.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 SearchComponent
rb
- The ResponseBuilder
IOException
- If there is a low-level I/O error.public static com.carrotsearch.hppc.IntIntHashMap getBoostDocs(SolrIndexSearcher indexSearcher, Map<BytesRef,Integer> boosted, Map context) throws IOException
IOException
public void process(ResponseBuilder rb) throws IOException
SearchComponent
process
in class SearchComponent
rb
- The ResponseBuilder
IOException
- If there is a low-level I/O error.public String getDescription()
SolrInfoBean
getDescription
in interface SolrInfoBean
getDescription
in class SearchComponent
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.