diff --git a/core/src/main/java/org/elasticsearch/action/count/CountRequest.java b/core/src/main/java/org/elasticsearch/action/count/CountRequest.java index aa22b8add14..fd78687a83e 100644 --- a/core/src/main/java/org/elasticsearch/action/count/CountRequest.java +++ b/core/src/main/java/org/elasticsearch/action/count/CountRequest.java @@ -63,7 +63,7 @@ public class CountRequest extends BroadcastRequest { /** * The minimum score of the documents to include in the count. */ - public float minScore() { + public Float minScore() { return searchSourceBuilder.minScore(); }