From 0e9d6de9167abb469d458b65b32b533d2a5341ed Mon Sep 17 00:00:00 2001 From: Uwe Schindler Date: Fri, 20 Jun 2014 10:16:48 +0000 Subject: [PATCH] SOLR-6178, LUCENE-5775: Deprecate JaspellLookupFactory git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1604122 13f79535-47bb-0310-9956-ffa450edef68 --- solr/CHANGES.txt | 3 +++ .../solr/spelling/suggest/jaspell/JaspellLookupFactory.java | 2 ++ 2 files changed, 5 insertions(+) diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt index 620d800fc1d..5a7262170b7 100644 --- a/solr/CHANGES.txt +++ b/solr/CHANGES.txt @@ -278,6 +278,9 @@ Other Changes * SOLR-6128: Removed deprecated analysis factories and fieldTypes from the example schema.xml (hossman) +* SOLR-6178, LUCENE-5775: Deprecate JaspellLookupFactory. (Uwe Schindler, + Mike McCandless) + Optimizations ---------------------- diff --git a/solr/core/src/java/org/apache/solr/spelling/suggest/jaspell/JaspellLookupFactory.java b/solr/core/src/java/org/apache/solr/spelling/suggest/jaspell/JaspellLookupFactory.java index a57f9627656..239df296221 100644 --- a/solr/core/src/java/org/apache/solr/spelling/suggest/jaspell/JaspellLookupFactory.java +++ b/solr/core/src/java/org/apache/solr/spelling/suggest/jaspell/JaspellLookupFactory.java @@ -27,7 +27,9 @@ import org.slf4j.LoggerFactory; /** * Factory for {@link JaspellLookup} + * @deprecated Migrate to one of the newer suggesters which are much more RAM efficient. */ +@Deprecated public class JaspellLookupFactory extends LookupFactory { private static final Logger LOG = LoggerFactory.getLogger(JaspellLookup.class); private static final String FILENAME = "jaspell.dat";