public class LTRQParserPlugin extends QParserPlugin implements ResourceLoaderAware, ManagedResourceObserver
| Modifier and Type | Class and Description |
|---|---|
class |
LTRQParserPlugin.LTRQParser |
SolrInfoBean.Category, SolrInfoBean.Group| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_INTERLEAVING_ALGORITHM
query parser plugin: default interleaving algorithm
|
static int |
DEFAULT_RERANK_DOCS
query parser plugin: default number of documents to rerank
|
static String |
INTERLEAVING_ALGORITHM
query parser plugin:the param that selects the interleaving algorithm to use
|
static String |
MODEL
query parser plugin: the name of the attribute for setting the model
|
static String |
NAME |
static String |
RERANK_DOCS
query parser plugin:the param that will select how the number of document
to rerank
|
DEFAULT_QTYPE, standardPlugins| Constructor and Description |
|---|
LTRQParserPlugin() |
| Modifier and Type | Method and Description |
|---|---|
QParser |
createParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req) |
static Map<String,String[]> |
extractEFIParams(SolrParams localParams)
Given a set of local SolrParams, extract all of the efi.key=value params into a map
|
void |
inform(ResourceLoader loader) |
void |
init(NamedList args) |
void |
onManagedResourceInitialized(NamedList<?> args,
ManagedResource res) |
getCategory, getDescription, getMetricNames, getNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMetricRegistry, getMetricsSnapshot, registerMetricNamepublic static final String NAME
public static final String MODEL
public static final int DEFAULT_RERANK_DOCS
public static final String RERANK_DOCS
public static final String DEFAULT_INTERLEAVING_ALGORITHM
public static final String INTERLEAVING_ALGORITHM
public void init(NamedList args)
init in interface NamedListInitializedPlugininit in class QParserPluginpublic QParser createParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest req)
createParser in class QParserPluginpublic static Map<String,String[]> extractEFIParams(SolrParams localParams)
localParams - Local request parameters that might conatin efi paramspublic void inform(ResourceLoader loader) throws IOException
inform in interface ResourceLoaderAwareIOExceptionpublic void onManagedResourceInitialized(NamedList<?> args, ManagedResource res) throws SolrException
onManagedResourceInitialized in interface ManagedResourceObserverSolrExceptionCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.