From eec37f555bc71a4e6b8891b8207521c3dede2010 Mon Sep 17 00:00:00 2001 From: Otis Gospodnetic Date: Fri, 16 Mar 2007 22:55:54 +0000 Subject: [PATCH] - Fixed termSourceField assignment git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@519173 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/solr/request/SpellCheckerRequestHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/solr/request/SpellCheckerRequestHandler.java b/src/java/org/apache/solr/request/SpellCheckerRequestHandler.java index 3ad5df5216f..ba4fd9bbad9 100644 --- a/src/java/org/apache/solr/request/SpellCheckerRequestHandler.java +++ b/src/java/org/apache/solr/request/SpellCheckerRequestHandler.java @@ -67,7 +67,7 @@ public class SpellCheckerRequestHandler extends RequestHandlerBase { public void init(NamedList args) { super.init(args); SolrParams p = SolrParams.toSolrParams(args); - restrictToField = p.get("termSourceField"); + termSourceField = p.get("termSourceField"); spellcheckerIndexDir = p.get("spellcheckerIndexDir"); try { spellChecker = new SpellChecker(FSDirectory.getDirectory(spellcheckerIndexDir));