Package org.apache.solr.ltr.interleaving
Interface Interleaving
-
- All Known Implementing Classes:
TeamDraftInterleaving
public interface Interleaving
Interleaving considers two ranking models: modelA and modelB.
For a given query, each model returns its ranked list of documents La = (a1,a2,...) and Lb = (b1, b2, ...).
An Interleaving algorithm creates a unique ranked list I = (i1, i2, ...).
This list is created by interleaving elements from the two lists la and lb as described by the implementation algorithm.
Each element Ij is labelled TeamA if it is selected from La and TeamB if it is selected from Lb.
-
-
Field Summary
Fields Modifier and Type Field Description static String
TEAM_DRAFT
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static Interleaving
getImplementation(String algorithm)
InterleavingResult
interleave(org.apache.lucene.search.ScoreDoc[] rerankedA, org.apache.lucene.search.ScoreDoc[] rerankedB)
-
-
-
Field Detail
-
TEAM_DRAFT
static final String TEAM_DRAFT
- See Also:
- Constant Field Values
-
-
Method Detail
-
interleave
InterleavingResult interleave(org.apache.lucene.search.ScoreDoc[] rerankedA, org.apache.lucene.search.ScoreDoc[] rerankedB)
-
getImplementation
static Interleaving getImplementation(String algorithm)
-
-