incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [03/28] git commit: Fixing a double count issue with the facets.
Date Wed, 15 Jan 2014 22:03:26 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/d05affd8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/d05affd8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/d05affd8

Branch: refs/heads/master
Commit: d05affd83cc1a4df73759419271789880d804b52
Parents: 3a24441
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Thu Jan 9 20:19:40 2014 -0500
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Wed Jan 15 17:01:58 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/d05affd8/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