From 10491ea09aa727918360fab60c2c3d6b58c70640 Mon Sep 17 00:00:00 2001 From: Marc Cromme Date: Wed, 3 May 2006 13:26:12 +0000 Subject: [PATCH] added coment on magic number 34 which is sqrroot of 1000 --- index/rank1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index/rank1.c b/index/rank1.c index 2856b4f..5bfae86 100644 --- a/index/rank1.c +++ b/index/rank1.c @@ -1,4 +1,4 @@ -/* $Id: rank1.c,v 1.28 2006-05-03 09:31:26 marc Exp $ +/* $Id: rank1.c,v 1.29 2006-05-03 13:26:12 marc Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -130,7 +130,7 @@ static void *begin (struct zebra_register *reg, if (cp) si->entries[i].rank_weight = atoi (cp+3); else - si->entries[i].rank_weight = 34; + si->entries[i].rank_weight = 34; /* sqrroot of 1000 */ yaz_log(log_level, " i=%d weight=%d g="ZINT_FORMAT, i, si->entries[i].rank_weight, g); (si->no_rank_entries)++; -- 1.7.10.4