From 5f45083f676b3f46b3f9f2125c5c9e2083565d65 Mon Sep 17 00:00:00 2001 From: Michael McCandless Date: Fri, 27 Feb 2015 15:57:06 +0000 Subject: [PATCH] LUCENE-6001: null check was backwards git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662733 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/java/org/apache/lucene/facet/DrillSidewaysScorer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lucene/facet/src/java/org/apache/lucene/facet/DrillSidewaysScorer.java b/lucene/facet/src/java/org/apache/lucene/facet/DrillSidewaysScorer.java index 7b019568be3..ad2938a2f94 100644 --- a/lucene/facet/src/java/org/apache/lucene/facet/DrillSidewaysScorer.java +++ b/lucene/facet/src/java/org/apache/lucene/facet/DrillSidewaysScorer.java @@ -112,7 +112,7 @@ class DrillSidewaysScorer extends BulkScorer { } long drillDownAdvancedCost = 0; - if (numDims > 1 && dims[1].disi == null) { + if (numDims > 1 && dims[1].disi != null) { drillDownAdvancedCost = dims[1].disi.cost(); }