mirror of https://github.com/apache/lucene.git
- Fixed termSourceField assignment
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@519173 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e8bcef03d9
commit
eec37f555b
|
@ -67,7 +67,7 @@ public class SpellCheckerRequestHandler extends RequestHandlerBase {
|
||||||
public void init(NamedList args) {
|
public void init(NamedList args) {
|
||||||
super.init(args);
|
super.init(args);
|
||||||
SolrParams p = SolrParams.toSolrParams(args);
|
SolrParams p = SolrParams.toSolrParams(args);
|
||||||
restrictToField = p.get("termSourceField");
|
termSourceField = p.get("termSourceField");
|
||||||
spellcheckerIndexDir = p.get("spellcheckerIndexDir");
|
spellcheckerIndexDir = p.get("spellcheckerIndexDir");
|
||||||
try {
|
try {
|
||||||
spellChecker = new SpellChecker(FSDirectory.getDirectory(spellcheckerIndexDir));
|
spellChecker = new SpellChecker(FSDirectory.getDirectory(spellcheckerIndexDir));
|
||||||
|
|
Loading…
Reference in New Issue