Update NumericRangeQuery comments
This commit is contained in:
parent
7b22332b06
commit
b3a1e21c12
|
@ -25,7 +25,7 @@ type numericRangeQuery struct {
|
|||
}
|
||||
|
||||
// NewNumericRangeQuery creates a new Query for ranges
|
||||
// of date values.
|
||||
// of numeric values.
|
||||
// Either, but not both endpoints can be nil.
|
||||
// The minimum value is inclusive.
|
||||
// The maximum value is exclusive.
|
||||
|
@ -34,7 +34,7 @@ func NewNumericRangeQuery(min, max *float64) *numericRangeQuery {
|
|||
}
|
||||
|
||||
// NewNumericRangeInclusiveQuery creates a new Query for ranges
|
||||
// of date values.
|
||||
// of numeric values.
|
||||
// Either, but not both endpoints can be nil.
|
||||
// Control endpoint inclusion with inclusiveMin, inclusiveMax.
|
||||
func NewNumericRangeInclusiveQuery(min, max *float64, minInclusive, maxInclusive *bool) *numericRangeQuery {
|
||||
|
|
Loading…
Reference in New Issue