You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by si...@apache.org on 2006/06/02 22:05:51 UTC

svn commit: r411285 - /lucene/nutch/trunk/contrib/web2/plugins/web-clustering/src/java/org/apache/nutch/webapp/controller/ClusteringController.java

Author: siren
Date: Fri Jun  2 13:05:50 2006
New Revision: 411285

URL: http://svn.apache.org/viewvc?rev=411285&view=rev
Log:
polishing

Modified:
    lucene/nutch/trunk/contrib/web2/plugins/web-clustering/src/java/org/apache/nutch/webapp/controller/ClusteringController.java

Modified: lucene/nutch/trunk/contrib/web2/plugins/web-clustering/src/java/org/apache/nutch/webapp/controller/ClusteringController.java
URL: http://svn.apache.org/viewvc/lucene/nutch/trunk/contrib/web2/plugins/web-clustering/src/java/org/apache/nutch/webapp/controller/ClusteringController.java?rev=411285&r1=411284&r2=411285&view=diff
==============================================================================
--- lucene/nutch/trunk/contrib/web2/plugins/web-clustering/src/java/org/apache/nutch/webapp/controller/ClusteringController.java (original)
+++ lucene/nutch/trunk/contrib/web2/plugins/web-clustering/src/java/org/apache/nutch/webapp/controller/ClusteringController.java Fri Jun  2 13:05:50 2006
@@ -46,7 +46,6 @@
     ServiceLocator locator = getServiceLocator(request);
 
     // display top N clusters and top Q documents inside them.
-    // TODO move these to configuration
     int N = locator.getConfiguration().getInt(
         "extension.clustering.cluster-count", 10);
     int Q = locator.getConfiguration().getInt(
@@ -85,7 +84,7 @@
       clusterer = new OnlineClustererFactory(locator.getConfiguration())
           .getOnlineClusterer();
     } catch (PluginRuntimeException e) {
-      LOG.info("Could not ionitialize Clusterer, is the plugin enabled?");
+      LOG.info("Could not initialize Clusterer, is the plugin enabled?");
       return;
     }
   }