Skip to content

Apache Lucene open-source search software

- Made class non-public. http://issues.apache.org/jira/browse/LUCENE-564

Otis Gospodnetic67f3d7f262f1
diff --git a/CHANGES.txt b/CHANGES.txt
index 7eb21da74fc..238618130fa 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -11,6 +11,9 @@ API Changes
so Lucene can read its date fields from old indexes
(Yonik Seeley & Grant Ingersoll)
+ 2. DisjunctionSumScorer is no longer public.
+ (Paul Elschot via Otis Gospodnetic)
+
Bug fixes
1. LUCENE-330: Fix issue of FilteredQuery not working properly within
diff --git a/src/java/org/apache/lucene/search/DisjunctionSumScorer.java b/src/java/org/apache/lucene/search/DisjunctionSumScorer.java
index 2d47830f252..d853b31d3eb 100644
--- a/src/java/org/apache/lucene/search/DisjunctionSumScorer.java
+++ b/src/java/org/apache/lucene/search/DisjunctionSumScorer.java
@@ -1,7 +1,7 @@
package org.apache.lucene.search;
/**
- * Copyright 2005 The Apache Software Foundation
+ * Copyright 2006 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -25,7 +25,7 @@ import org.apache.lucene.util.PriorityQueue;
/** A Scorer for OR like queries, counterpart of Lucene's <code>ConjunctionScorer</code>.
* This Scorer implements {@link Scorer#skipTo(int)} and uses skipTo() on the given Scorers.
*/
-public class DisjunctionSumScorer extends Scorer {
+class DisjunctionSumScorer extends Scorer {
/** The number of subscorers. */
private final int nrScorers;