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