Skip to content

Commit

Permalink
Correct typos
Browse files Browse the repository at this point in the history
Relates to elastic#28725
  • Loading branch information
mayya-sharipova authored and ywelsch committed May 23, 2018
1 parent a52ceb9 commit 887fa62
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
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.
Expand All @@ -55,10 +55,10 @@ public int getWindowSize() {
}

public void setRescoredDocs(Set<Integer> docIds) {
recroredDocs = docIds;
resroredDocs = docIds;
}

public boolean isRescored(int docId) {
return recroredDocs.contains(docId);
return resroredDocs.contains(docId);
}
}

0 comments on commit 887fa62

Please sign in to comment.