lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cpoersc...@apache.org
Subject [1/3] lucene-solr:branch_6x: LUCENE-7454: unusedPrivateMember removal (DefaultIndexingChain) and tweak (PointInSetQuery)
Date Fri, 23 Sep 2016 13:47:11 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/branch_6x 2124f1250 -> b8dd3be93


LUCENE-7454: unusedPrivateMember removal (DefaultIndexingChain) and tweak (PointInSetQuery)


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/1d11d121
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/1d11d121
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/1d11d121

Branch: refs/heads/branch_6x
Commit: 1d11d1211c2e90268fc339d2b5a88f8e42a18c2c
Parents: 2124f12
Author: Christine Poerschke <cpoerschke@apache.org>
Authored: Thu Sep 22 18:21:38 2016 +0100
Committer: Christine Poerschke <cpoerschke@apache.org>
Committed: Fri Sep 23 13:45:48 2016 +0100

----------------------------------------------------------------------
 .../src/java/org/apache/lucene/index/DefaultIndexingChain.java     | 2 --
 lucene/core/src/java/org/apache/lucene/search/PointInSetQuery.java | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/1d11d121/lucene/core/src/java/org/apache/lucene/index/DefaultIndexingChain.java
----------------------------------------------------------------------
diff --git a/lucene/core/src/java/org/apache/lucene/index/DefaultIndexingChain.java b/lucene/core/src/java/org/apache/lucene/index/DefaultIndexingChain.java
index 58ad981..55cdbf3 100644
--- a/lucene/core/src/java/org/apache/lucene/index/DefaultIndexingChain.java
+++ b/lucene/core/src/java/org/apache/lucene/index/DefaultIndexingChain.java
@@ -641,8 +641,6 @@ final class DefaultIndexingChain extends DocConsumer {
     // reused
     TokenStream tokenStream;
 
-    IndexOptions indexOptions;
-
     public PerField(FieldInfo fieldInfo, boolean invert) {
       this.fieldInfo = fieldInfo;
       similarity = docState.similarity;

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/1d11d121/lucene/core/src/java/org/apache/lucene/search/PointInSetQuery.java
----------------------------------------------------------------------
diff --git a/lucene/core/src/java/org/apache/lucene/search/PointInSetQuery.java b/lucene/core/src/java/org/apache/lucene/search/PointInSetQuery.java
index 8569114..b7c8192 100644
--- a/lucene/core/src/java/org/apache/lucene/search/PointInSetQuery.java
+++ b/lucene/core/src/java/org/apache/lucene/search/PointInSetQuery.java
@@ -172,7 +172,7 @@ public abstract class PointInSetQuery extends Query {
       this.result = result;
       this.sortedPackedPoints = sortedPackedPoints;
       scratch.length = bytesPerDim;
-      this.iterator = sortedPackedPoints.iterator();
+      this.iterator = this.sortedPackedPoints.iterator();
       nextQueryPoint = iterator.next();
     }
 


Mime
View raw message