Update of /var/cvs/contributions/lucene/src/org/mmbase/module/lucene
In directory james.mmbase.org:/tmp/cvs-serv16910
Modified Files:
Indexer.java
Log Message:
simply report that as an error to lucene, and not in the log
See also:
http://cvs.mmbase.org/viewcvs/contributions/lucene/src/org/mmbase/module/lucene
Index: Indexer.java
===================================================================
RCS file:
/var/cvs/contributions/lucene/src/org/mmbase/module/lucene/Indexer.java,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -b -r1.54 -r1.55
--- Indexer.java 5 Feb 2008 13:45:24 -0000 1.54
+++ Indexer.java 8 Feb 2008 13:23:25 -0000 1.55
@@ -34,7 +34,7 @@
*
* @author Pierre van Rooden
* @author Michiel Meeuwissen
- * @version $Id: Indexer.java,v 1.54 2008/02/05 13:45:24 michiel Exp $
+ * @version $Id: Indexer.java,v 1.55 2008/02/08 13:23:25 michiel Exp $
**/
public class Indexer {
@@ -436,7 +436,7 @@
log.info("Full index finished at " + lastFullIndex + ". Copied
" + fullIndex + " to " + getDirectory() + " Total nr documents in index '" +
getName() + "': " + writer.docCount());
EventManager.getInstance().propagateEvent(new
FullIndexEvents.Event(getName(), FullIndexEvents.Status.IDLE,
writer.docCount()));
} else {
- log.warn((errorCount - errorCountBefore) + " errors during
full index. Will not update the index.");
+ addError((errorCount - errorCountBefore) + " errors during
full index. Will not update the index.");
}
} catch (Exception e) {
addError(e.getMessage());
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs