Skip to content

Commit

Permalink
Update NumericRangeQuery comments
Browse files Browse the repository at this point in the history
  • Loading branch information
marksamman committed Nov 12, 2015
1 parent 7b22332 commit b3a1e21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions query_numeric_range.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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 {
Expand Down

0 comments on commit b3a1e21

Please sign in to comment.