diff --git a/CHANGES.txt b/CHANGES.txt index e5633823ea9..a641b01440d 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -526,6 +526,9 @@ Other Changes to references to constants in CommonParams. (Lars Kotthoff via Otis Gospodnetic) +16. SOLR-520: Deprecated unused LengthFilter since already core in + Lucene-Java (hossman) + Build 1. SOLR-411. Changed the names of the Solr JARs to use the defacto standard JAR names based on project-name-version.jar. This yields, for example: diff --git a/src/java/org/apache/solr/analysis/LengthFilter.java b/src/java/org/apache/solr/analysis/LengthFilter.java index 1a78352d035..41e433698bf 100644 --- a/src/java/org/apache/solr/analysis/LengthFilter.java +++ b/src/java/org/apache/solr/analysis/LengthFilter.java @@ -25,7 +25,9 @@ import java.io.IOException; /** * @version $Id$ + * @deprecated use {@link org.apache.lucene.analysis.LengthFilter} */ +@Deprecated public final class LengthFilter extends TokenFilter { final int min,max;