Package org.apache.solr.ltr.interleaving
package org.apache.solr.ltr.interleaving
Contains Various Interleaving auxiliary classes
-
ClassDescriptionInterleaving 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.A learning to rank Query with Interleaving, will incapsulate two models, and delegate to it the rescoring of the documents.Implements the rescoring logic.