From a3f58753865d355c9dbb283d0ac8f67956d8a1f9 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 6 Feb 2007 09:32:50 +0000 Subject: [PATCH] More compact statistics --- index/kinput.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/index/kinput.c b/index/kinput.c index 670b099..5fe9733 100644 --- a/index/kinput.c +++ b/index/kinput.c @@ -1,4 +1,4 @@ -/* $Id: kinput.c,v 1.82 2007-01-15 15:10:16 adam Exp $ +/* $Id: kinput.c,v 1.83 2007-02-06 09:32:50 adam Exp $ Copyright (C) 1995-2007 Index Data ApS @@ -818,11 +818,12 @@ void zebra_index_merge (ZebraHandle zh) xfree (kf); if (hi->no_iterations) { /* do not log if nothing happened */ - yaz_log(YLOG_LOG, "Iterations %9" ZINT_FORMAT0, hi->no_iterations); - yaz_log(YLOG_LOG, "Distinct words %9" ZINT_FORMAT0, hi->no_diffs); - yaz_log(YLOG_LOG, "Updates %9" ZINT_FORMAT0, hi->no_updates); - yaz_log(YLOG_LOG, "Deletions %9" ZINT_FORMAT0, hi->no_deletions); - yaz_log(YLOG_LOG, "Insertions %9" ZINT_FORMAT0, hi->no_insertions); + yaz_log(YLOG_LOG, "Iterations: isam/dict " + ZINT_FORMAT "/" ZINT_FORMAT, + hi->no_iterations, hi->no_diffs); + yaz_log(YLOG_LOG, "Dict: inserts/updates/deletions: " + ZINT_FORMAT "/" ZINT_FORMAT "/" ZINT_FORMAT, + hi->no_insertions, hi->no_updates, hi->no_deletions); } key_block_destroy(&zh->reg->key_block); key_heap_destroy(hi, nkeys); -- 1.7.10.4