From 7c2fc260119a100470c35765acf32e34eef64cd0 Mon Sep 17 00:00:00 2001 From: Mayya Sharipova Date: Thu, 17 May 2018 10:34:42 -0400 Subject: [PATCH] Correct typos Relates to #28725 --- .../org/elasticsearch/search/rescore/RescoreContext.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/src/main/java/org/elasticsearch/search/rescore/RescoreContext.java b/server/src/main/java/org/elasticsearch/search/rescore/RescoreContext.java index d070b5abd3f..2401b9ff329 100644 --- a/server/src/main/java/org/elasticsearch/search/rescore/RescoreContext.java +++ b/server/src/main/java/org/elasticsearch/search/rescore/RescoreContext.java @@ -29,7 +29,7 @@ import java.util.Set; public class RescoreContext { private final int windowSize; private final Rescorer rescorer; - private Set recroredDocs; //doc Ids for which rescoring was applied + private Set resroredDocs; //doc Ids for which rescoring was applied /** * Build the context. @@ -55,10 +55,10 @@ public class RescoreContext { } public void setRescoredDocs(Set docIds) { - recroredDocs = docIds; + resroredDocs = docIds; } public boolean isRescored(int docId) { - return recroredDocs.contains(docId); + return resroredDocs.contains(docId); } }