0
0
Fork 0

Update NumericRangeQuery comments

This commit is contained in:
Mark Samman 2015-11-12 22:16:10 +01:00
parent 7b22332b06
commit b3a1e21c12
1 changed files with 2 additions and 2 deletions

View File

@ -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 {