Revision: 16579
          http://sourceforge.net/p/gate/code/16579
Author:   valyt
Date:     2013-03-11 14:47:19 +0000 (Mon, 11 Mar 2013)
Log Message:
-----------
Fixed logging bug.

Modified Paths:
--------------
    
mimir/trunk/mimir-core/src/gate/mimir/index/mg4j/MimirDirectIndexBuilder.java

Modified: 
mimir/trunk/mimir-core/src/gate/mimir/index/mg4j/MimirDirectIndexBuilder.java
===================================================================
--- 
mimir/trunk/mimir-core/src/gate/mimir/index/mg4j/MimirDirectIndexBuilder.java   
    2013-03-11 02:29:54 UTC (rev 16578)
+++ 
mimir/trunk/mimir-core/src/gate/mimir/index/mg4j/MimirDirectIndexBuilder.java   
    2013-03-11 14:47:19 UTC (rev 16579)
@@ -205,8 +205,8 @@
         inputTermIterator = inputIndexReader.nextIterator();
         termsProcessed++;
         buildProgress = (double)termsProcessed / inputIndex.numberOfTerms;
-        if(buildProgress - lastProgress >= 1) {
-          logger.debug("Direct index  " +  percentNF.format(buildProgress) + 
+        if(buildProgress - lastProgress >= 0.05) {
+          logger.debug("Direct index " +  percentNF.format(buildProgress) + 
               " built.");
           lastProgress = buildProgress;
         }

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to