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, getName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMetricRegistry, getMetricsSnapshot, registerMetricName
public 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 NamedListInitializedPlugin
init
in class QParserPlugin
public QParser createParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest req)
createParser
in class QParserPlugin
public 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 ResourceLoaderAware
IOException
public void onManagedResourceInitialized(NamedList<?> args, ManagedResource res) throws SolrException
onManagedResourceInitialized
in interface ManagedResourceObserver
SolrException
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.