Package | Description |
---|---|
org.apache.solr.ltr |
This package contains the main logic for performing the reranking using
a Learning to Rank model.
|
org.apache.solr.ltr.search |
APIs and classes for parsing and processing search requests
|
Modifier and Type | Method and Description |
---|---|
static LTRScoringQuery |
SolrQueryRequestContextUtils.getScoringQuery(SolrQueryRequest req) |
Modifier and Type | Method and Description |
---|---|
String |
FeatureLogger.getFeatureVector(int docid,
LTRScoringQuery scoringQuery,
SolrIndexSearcher searcher)
populate the document with its feature vector
|
boolean |
FeatureLogger.log(int docid,
LTRScoringQuery scoringQuery,
SolrIndexSearcher searcher,
LTRScoringQuery.FeatureInfo[] featuresInfo)
Log will be called every time that the model generates the feature values
for a document and a query.
|
static void |
SolrQueryRequestContextUtils.setScoringQuery(SolrQueryRequest req,
LTRScoringQuery scoringQuery)
scoring query accessors
|
Constructor and Description |
---|
LTRRescorer(LTRScoringQuery scoringQuery) |
Constructor and Description |
---|
LTRQuery(LTRScoringQuery scoringQuery,
int reRankDocs) |
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.