svn commit: r385267 - /lucene/nutch/trunk/src/plugin/clustering-carrot2/plugin.xml

2006-03-12 Thread jerome
Author: jerome
Date: Sun Mar 12 01:41:13 2006
New Revision: 385267

URL: http://svn.apache.org/viewcvs?rev=385267view=rev
Log:
NUTCH-228, clustering plugin descriptor fixed (Dawid Weiss)

Modified:
lucene/nutch/trunk/src/plugin/clustering-carrot2/plugin.xml

Modified: lucene/nutch/trunk/src/plugin/clustering-carrot2/plugin.xml
URL: 
http://svn.apache.org/viewcvs/lucene/nutch/trunk/src/plugin/clustering-carrot2/plugin.xml?rev=385267r1=385266r2=385267view=diff
==
--- lucene/nutch/trunk/src/plugin/clustering-carrot2/plugin.xml (original)
+++ lucene/nutch/trunk/src/plugin/clustering-carrot2/plugin.xml Sun Mar 12 
01:41:13 2006
@@ -18,7 +18,7 @@
   library name=carrot2-util-tokenizer.jar/
 
   library name=colt-1.0.3.jar/
-  library name=commons-collections-3.0.jar/
+  library name=commons-collections-3.1-patched.jar/
   library name=commons-pool-1.1.jar/
   library name=FSA.jar/
   library name=Jama-1.0.1-patched.jar/




svn commit: r385268 - /lucene/nutch/trunk/src/web/jsp/cluster.jsp

2006-03-12 Thread jerome
Author: jerome
Date: Sun Mar 12 01:42:44 2006
New Revision: 385268

URL: http://svn.apache.org/viewcvs?rev=385268view=rev
Log:
Fix milliseconds dumped by cluster.jsp (Dawid Weiss)

Modified:
lucene/nutch/trunk/src/web/jsp/cluster.jsp

Modified: lucene/nutch/trunk/src/web/jsp/cluster.jsp
URL: 
http://svn.apache.org/viewcvs/lucene/nutch/trunk/src/web/jsp/cluster.jsp?rev=385268r1=385267r2=385268view=diff
==
--- lucene/nutch/trunk/src/web/jsp/cluster.jsp (original)
+++ lucene/nutch/trunk/src/web/jsp/cluster.jsp Sun Mar 12 01:42:44 2006
@@ -21,11 +21,11 @@
 // cluster the hits
 HitsCluster [] clusters = null;
 if (clusterer != null) {
-  long clusteringStart = System.currentTimeMillis();
+  final long clusteringStart = System.currentTimeMillis();
   try {
 clusters = clusterer.clusterHits( details, summaries );
-   long clusteringDuration = start - System.currentTimeMillis();
-   bean.LOG.info(Clustering took:  + clusteringDuration +  
milliseconds.);
+final long clusteringDuration = System.currentTimeMillis() - 
clusteringStart;
+bean.LOG.info(Clustering took:  + clusteringDuration +  milliseconds.);
   } catch (Exception e) {
 // failed to do clustering (see below)
   }