X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fkinput.c;h=5fe9733371fbb44174c69c4cdb1fcf0bf6e5ffac;hb=bd797d70f666280cdf941337d86b438a8d2506fc;hp=44c44eab07943913987e2bb43927e63e91e7fe11;hpb=ab97a59cbf609730cbc674885832fd5bb1dc64fb;p=idzebra-moved-to-github.git diff --git a/index/kinput.c b/index/kinput.c index 44c44ea..5fe9733 100644 --- a/index/kinput.c +++ b/index/kinput.c @@ -1,5 +1,5 @@ -/* $Id: kinput.c,v 1.80 2006-12-06 22:52:38 adam Exp $ - Copyright (C) 1995-2006 +/* $Id: kinput.c,v 1.83 2007-02-06 09:32:50 adam Exp $ + Copyright (C) 1995-2007 Index Data ApS This file is part of the Zebra server. @@ -55,7 +55,7 @@ struct key_file { Res res; }; -#if 1 +#if 0 static void pkey(const char *b, int mode) { key_logdump_txt(YLOG_LOG, b, mode ? "i" : "d"); @@ -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);