incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [3/3] git commit: Fixing a double count issue with the facets.
Date Fri, 10 Jan 2014 01:19:40 GMT
Fixing a double count issue with the facets.


Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/4e581343
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/4e581343
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/4e581343

Branch: refs/heads/apache-blur-0.2
Commit: 4e58134338abcf92f97d5f473b9ff45796fb3b58
Parents: 82b200f
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Thu Jan 9 20:19:40 2014 -0500
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Thu Jan 9 20:19:40 2014 -0500

----------------------------------------------------------------------
 .../src/main/java/org/apache/blur/lucene/search/FacetExecutor.java  | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/4e581343/blur-query/src/main/java/org/apache/blur/lucene/search/FacetExecutor.java
----------------------------------------------------------------------
diff --git a/blur-query/src/main/java/org/apache/blur/lucene/search/FacetExecutor.java b/blur-query/src/main/java/org/apache/blur/lucene/search/FacetExecutor.java
index e3a24bf..10ae351 100644
--- a/blur-query/src/main/java/org/apache/blur/lucene/search/FacetExecutor.java
+++ b/blur-query/src/main/java/org/apache/blur/lucene/search/FacetExecutor.java
@@ -120,7 +120,6 @@ public class FacetExecutor {
               scorer.score(col);
               counts.addAndGet(i, col._hits);
             }
-            counts.addAndGet(i, col._hits);
             col._hits = 0;
           }
         }


Mime
View raw message