Count Request: minScore can be null, its getter should be Float rather than float

This commit is contained in:
javanna 2015-10-06 16:16:57 +02:00 committed by Luca Cavanna
parent c2fc65352a
commit 108f5c5701
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ public class CountRequest extends BroadcastRequest<CountRequest> {
/** /**
* The minimum score of the documents to include in the count. * The minimum score of the documents to include in the count.
*/ */
public float minScore() { public Float minScore() {
return searchSourceBuilder.minScore(); return searchSourceBuilder.minScore();
} }