lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject svn commit: r828300 - /lucene/solr/trunk/src/java/org/apache/solr/update/processor/LogUpdateProcessorFactory.java
Date Thu, 22 Oct 2009 04:17:02 GMT
Author: ryan
Date: Thu Oct 22 04:17:01 2009
New Revision: 828300

URL: http://svn.apache.org/viewvc?rev=828300&view=rev
Log:
tweek the update log format to show a more reasonable message

Modified:
    lucene/solr/trunk/src/java/org/apache/solr/update/processor/LogUpdateProcessorFactory.java

Modified: lucene/solr/trunk/src/java/org/apache/solr/update/processor/LogUpdateProcessorFactory.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/update/processor/LogUpdateProcessorFactory.java?rev=828300&r1=828299&r2=828300&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/update/processor/LogUpdateProcessorFactory.java
(original)
+++ lucene/solr/trunk/src/java/org/apache/solr/update/processor/LogUpdateProcessorFactory.java
Thu Oct 22 04:17:01 2009
@@ -162,10 +162,10 @@
     
     // if id lists were truncated, show how many more there were
     if (numAdds > maxNumToLog) {
-      adds.add("...(" + (numAdds-adds.size()) + " more)");
+      adds.add("... (" + adds.size() + " added)");
     }
     if (numDeletes > maxNumToLog) {
-      deletes.add("...(" + (numDeletes-deletes.size()) + " more)");
+      deletes.add("... (" + deletes.size() + " removed)");
     }
     long elapsed = rsp.getEndTime() - req.getStartTime();
     log.info( ""+toLog + " 0 " + (elapsed) );



Mime
View raw message