public class RankQParserPlugin extends QParserPlugin
RankQParserPlugin can be used to introduce document-depending scoring factors to ranking.
 While this QParser delivers a (subset of) functionality already available via FunctionQParser,
 the benefit is that RankQParserPlugin can be used in combination with the minExactCount to
 use BlockMax-WAND algorithm (skip non-competitive documents) to provide faster responses.RankField| Modifier and Type | Class and Description | 
|---|---|
| static class  | RankQParserPlugin.RankQParser | 
SolrInfoBean.Category, SolrInfoBean.Group| Modifier and Type | Field and Description | 
|---|---|
| static String | EXPONENT | 
| static String | FIELD | 
| static String | FUNCTION | 
| static String | NAME | 
| static String | PIVOT | 
| static String | SCALING_FACTOR | 
| static String | WEIGHT | 
DEFAULT_QTYPE, standardPlugins| Constructor and Description | 
|---|
| RankQParserPlugin() | 
| Modifier and Type | Method and Description | 
|---|---|
| QParser | createParser(String qstr,
            SolrParams localParams,
            SolrParams params,
            SolrQueryRequest req)return a  QParser | 
getCategory, getDescription, getMetricNames, getName, initclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMetricRegistry, getMetricsSnapshot, registerMetricNamepublic static final String NAME
public static final String FIELD
public static final String FUNCTION
public static final String WEIGHT
public static final String PIVOT
public static final String SCALING_FACTOR
public static final String EXPONENT
public QParser createParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest req)
QParserPluginQParsercreateParser in class QParserPluginCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.