lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject [23/26] lucenenet git commit: fix double range facet count test
Date Fri, 14 Nov 2014 11:59:38 GMT
fix double range facet count test


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

Branch: refs/heads/master
Commit: f1262cd5a714bbff190af52028b93f1ce1c0d244
Parents: f9ee124
Author: eladmarg <eladmarg@gmail.com>
Authored: Thu Nov 13 09:26:03 2014 -0800
Committer: eladmarg <eladmarg@gmail.com>
Committed: Thu Nov 13 09:26:03 2014 -0800

----------------------------------------------------------------------
 Lucene.Net.Facet/Range/DoubleRangeFacetCounts.cs              | 2 +-
 src/Lucene.Net.Tests/core/Facet/Range/TestRangeFacetCounts.cs | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f1262cd5/Lucene.Net.Facet/Range/DoubleRangeFacetCounts.cs
----------------------------------------------------------------------
diff --git a/Lucene.Net.Facet/Range/DoubleRangeFacetCounts.cs b/Lucene.Net.Facet/Range/DoubleRangeFacetCounts.cs
index 4bfea35..d0163d7 100644
--- a/Lucene.Net.Facet/Range/DoubleRangeFacetCounts.cs
+++ b/Lucene.Net.Facet/Range/DoubleRangeFacetCounts.cs
@@ -84,7 +84,7 @@ namespace Lucene.Net.Facet.Range
         ///  checked for the matching ranges.  The filter must be
         ///  random access (implement <seealso cref="DocIdSet#bits"/>). 
         /// </summary>
-        public DoubleRangeFacetCounts(string field, ValueSource valueSource, FacetsCollector
hits, Filter fastMatchFilter, params DoubleRange[] ranges)
+        public DoubleRangeFacetCounts(string field, ValueSource valueSource, FacetsCollector
hits, Filter fastMatchFilter, DoubleRange[] ranges)
             : base(field, ranges, fastMatchFilter)
         {
             Count(valueSource, hits.GetMatchingDocs);

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f1262cd5/src/Lucene.Net.Tests/core/Facet/Range/TestRangeFacetCounts.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Facet/Range/TestRangeFacetCounts.cs b/src/Lucene.Net.Tests/core/Facet/Range/TestRangeFacetCounts.cs
index aae9008..bb09c43 100644
--- a/src/Lucene.Net.Tests/core/Facet/Range/TestRangeFacetCounts.cs
+++ b/src/Lucene.Net.Tests/core/Facet/Range/TestRangeFacetCounts.cs
@@ -1152,9 +1152,9 @@ namespace Lucene.Net.Facet.Range
                 : base(indexSearcher, facetsConfig, org)
             {
                 this.outerInstance = outerInstance;
-                this.vs = vs;
-                this.ranges = ranges;
-                this.fastMatchFilter = fastMatchFilter;
+                this.vs = valueSource;
+                this.ranges = doubleRanges;
+                this.fastMatchFilter = filter;
             }
 
 


Mime
View raw message