Count Request: minScore can be null, its getter should be Float rather than float
This commit is contained in:
parent
c2fc65352a
commit
108f5c5701
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue