lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@apache.org
Subject svn commit: r519173 - /lucene/solr/trunk/src/java/org/apache/solr/request/SpellCheckerRequestHandler.java
Date Fri, 16 Mar 2007 22:55:55 GMT
Author: otis
Date: Fri Mar 16 15:55:54 2007
New Revision: 519173

URL: http://svn.apache.org/viewvc?view=rev&rev=519173
Log:
- Fixed termSourceField assignment

Modified:
    lucene/solr/trunk/src/java/org/apache/solr/request/SpellCheckerRequestHandler.java

Modified: lucene/solr/trunk/src/java/org/apache/solr/request/SpellCheckerRequestHandler.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/request/SpellCheckerRequestHandler.java?view=diff&rev=519173&r1=519172&r2=519173
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/request/SpellCheckerRequestHandler.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/request/SpellCheckerRequestHandler.java Fri
Mar 16 15:55:54 2007
@@ -67,7 +67,7 @@
     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));



Mime
View raw message