Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

two unused variables deleted

Christoph Goller32f3d1794a6b
diff --git a/src/java/org/apache/lucene/search/PhrasePrefixQuery.java b/src/java/org/apache/lucene/search/PhrasePrefixQuery.java
index a6bd9ff920c..39829a4cf91 100644
--- a/src/java/org/apache/lucene/search/PhrasePrefixQuery.java
+++ b/src/java/org/apache/lucene/search/PhrasePrefixQuery.java
@@ -79,9 +79,6 @@ public class PhrasePrefixQuery extends Query {
private String field;
private ArrayList termArrays = new ArrayList();
- private float idf = 0.0f;
- private float weight = 0.0f;
-
private int slop = 0;
/* Sets the phrase slop for this query.