Correct typos

Relates to #28725
This commit is contained in:
Mayya Sharipova 2018-05-17 10:34:42 -04:00
parent a0a8c4f186
commit 7c2fc26011
1 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@ import java.util.Set;
public class RescoreContext {
private final int windowSize;
private final Rescorer rescorer;
private Set<Integer> recroredDocs; //doc Ids for which rescoring was applied
private Set<Integer> resroredDocs; //doc Ids for which rescoring was applied
/**
* Build the context.
@ -55,10 +55,10 @@ public class RescoreContext {
}
public void setRescoredDocs(Set<Integer> docIds) {
recroredDocs = docIds;
resroredDocs = docIds;
}
public boolean isRescored(int docId) {
return recroredDocs.contains(docId);
return resroredDocs.contains(docId);
}
}