QueryRescorer.QueryRescoreContextpublic class RescoreContext
extends java.lang.Object
| Constructor | Description |
|---|---|
RescoreContext(int windowSize,
Rescorer rescorer) |
Build the context.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
getWindowSize() |
Size of the window to rescore.
|
boolean |
isRescored(int docId) |
|
Rescorer |
rescorer() |
The rescorer to actually apply.
|
void |
setRescoredDocs(java.util.Set<java.lang.Integer> docIds) |
public RescoreContext(int windowSize,
Rescorer rescorer)
rescorer - the rescorer actually performing the rescore.public Rescorer rescorer()
public int getWindowSize()
public void setRescoredDocs(java.util.Set<java.lang.Integer> docIds)
public boolean isRescored(int docId)