Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

remove debug iteration because it seems to block spelling suggestions

Sami Siren35969c829f5d
diff --git a/contrib/web2/plugins/web-query-propose-spellcheck/src/java/org/apache/nutch/spell/SpellCheckerBean.java b/contrib/web2/plugins/web-query-propose-spellcheck/src/java/org/apache/nutch/spell/SpellCheckerBean.java
index 805306154..a147ef0c7 100644
--- a/contrib/web2/plugins/web-query-propose-spellcheck/src/java/org/apache/nutch/spell/SpellCheckerBean.java
+++ b/contrib/web2/plugins/web-query-propose-spellcheck/src/java/org/apache/nutch/spell/SpellCheckerBean.java
@@ -150,14 +150,6 @@ public class SpellCheckerBean {
, originalTerm, ng1, ng2, maxr, bStart, bEnd,
bTransposition, maxd, lis, true);
- Iterator it = lis.iterator();
-
- while (it.hasNext()) {
- if(LOG.isDebugEnabled()){
- LOG.debug(it.next().toString());
- }
- }
-
if (suggestions.length > 0) {
currentTerm.setSuggestedTerm(suggestions[0]);