lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mhern...@apache.org
Subject [36/50] [abbrv] git commit: Bugfix for NumericRangeQuery
Date Tue, 24 Sep 2013 18:33:12 GMT
Bugfix for NumericRangeQuery


Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/d72f5c11
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/d72f5c11
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/d72f5c11

Branch: refs/heads/branch_4x
Commit: d72f5c11d57db4e96f15187babbd5c913eade637
Parents: 4cc8ff0
Author: Paul Irwin <paulirwin@gmail.com>
Authored: Wed Aug 7 13:56:13 2013 -0400
Committer: Paul Irwin <paulirwin@gmail.com>
Committed: Wed Aug 7 13:56:13 2013 -0400

----------------------------------------------------------------------
 src/core/Search/NumericRangeQuery.cs | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/d72f5c11/src/core/Search/NumericRangeQuery.cs
----------------------------------------------------------------------
diff --git a/src/core/Search/NumericRangeQuery.cs b/src/core/Search/NumericRangeQuery.cs
index c1a2acb..8580a7e 100644
--- a/src/core/Search/NumericRangeQuery.cs
+++ b/src/core/Search/NumericRangeQuery.cs
@@ -163,6 +163,7 @@ namespace Lucene.Net.Search
         {
             if (precisionStep < 1)
                 throw new ArgumentException("precisionStep must be >= 1");
+            this.field = field;
             this.precisionStep = precisionStep;
             this.dataType = dataType;
             this.min = min;


Mime
View raw message