From b3a1e21c12031da34b6cb511b070ecf6518830ee Mon Sep 17 00:00:00 2001 From: Mark Samman Date: Thu, 12 Nov 2015 22:16:10 +0100 Subject: [PATCH] Update NumericRangeQuery comments --- query_numeric_range.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/query_numeric_range.go b/query_numeric_range.go index 317f1f4b..87d5f348 100644 --- a/query_numeric_range.go +++ b/query_numeric_range.go @@ -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 {