Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-6178, LUCENE-5775: Deprecate JaspellLookupFactory

Uwe Schindler0e9d6de9167a
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";