Package org.apache.solr.ltr.interleaving
Interface Interleaving
- 
- All Known Implementing Classes:
- TeamDraftInterleaving
 
 public interface InterleavingInterleaving 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 SummaryFields Modifier and Type Field Description static StringTEAM_DRAFT
 - 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static InterleavinggetImplementation(String algorithm)InterleavingResultinterleave(org.apache.lucene.search.ScoreDoc[] rerankedA, org.apache.lucene.search.ScoreDoc[] rerankedB)
 
- 
- 
- 
Field Detail- 
TEAM_DRAFTstatic final String TEAM_DRAFT - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
interleaveInterleavingResult interleave(org.apache.lucene.search.ScoreDoc[] rerankedA, org.apache.lucene.search.ScoreDoc[] rerankedB) 
 - 
getImplementationstatic Interleaving getImplementation(String algorithm) 
 
- 
 
-