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.interleaving |
Contains Various Interleaving auxiliary classes
|
org.apache.solr.ltr.search |
APIs and classes for parsing and processing search requests
|
Modifier and Type | Method and Description |
---|---|
static LTRScoringQuery[] |
SolrQueryRequestContextUtils.getScoringQueries(SolrQueryRequest req) |
Modifier and Type | Method and Description |
---|---|
protected static Explanation |
LTRRescorer.getExplanation(IndexSearcher searcher,
int docID,
LTRScoringQuery rerankingQuery) |
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.
|
protected static void |
LTRRescorer.logSingleHit(IndexSearcher indexSearcher,
LTRScoringQuery.ModelWeight modelWeight,
int docid,
LTRScoringQuery scoringQuery)
Call this method if the
LTRRescorer.scoreSingleHit(int, int, int, ScoreDoc, int, org.apache.solr.ltr.LTRScoringQuery.ModelWeight.ModelScorer, ScoreDoc[])
method indicated that the document's feature info should be logged. |
protected static void |
LTRRescorer.scoreSingleHit(IndexSearcher indexSearcher,
int topN,
LTRScoringQuery.ModelWeight modelWeight,
int docBase,
int hitUpto,
ScoreDoc hit,
int docID,
LTRScoringQuery rerankingQuery,
LTRScoringQuery.ModelWeight.ModelScorer scorer,
ScoreDoc[] reranked)
|
static void |
SolrQueryRequestContextUtils.setScoringQueries(SolrQueryRequest req,
LTRScoringQuery[] scoringQueries)
scoring query accessors
|
Constructor and Description |
---|
LTRRescorer(LTRScoringQuery scoringQuery) |
Modifier and Type | Class and Description |
---|---|
class |
LTRInterleavingScoringQuery |
class |
OriginalRankingLTRScoringQuery |
Constructor and Description |
---|
LTRQuery(LTRScoringQuery scoringQuery,
int reRankDocs) |
LTRQuery(LTRScoringQuery scoringQuery,
int reRankDocs,
LTRRescorer rescorer) |
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.