X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fzvrank.c;h=c2fc2182fcf64253027c5d94a7c48df25d6c4bcf;hb=27742a4ea82e9b3494c166203b06d1d7c48da923;hp=0985262168368a0125993782d17bbf9a83d73a33;hpb=342c28e71fe5122d17d760a930107cab0266e9c6;p=idzebra-moved-to-github.git diff --git a/index/zvrank.c b/index/zvrank.c index 0985262..c2fc218 100644 --- a/index/zvrank.c +++ b/index/zvrank.c @@ -1,4 +1,4 @@ -/* $Id: zvrank.c,v 1.18 2005-08-19 09:21:34 adam Exp $ +/* $Id: zvrank.c,v 1.21 2006-05-10 08:13:26 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -52,6 +52,7 @@ fernuni-hagen.de> #endif #include "index.h" +#include "rank.h" static int log_level = 0; static int log_initialized = 0; @@ -782,7 +783,7 @@ static void zv_add (void *rsi, int seqno, TERMID term) { * score should be between 0 and 1000. If score cannot be obtained * -1 should be returned. */ -static int zv_calc (void *rsi, zint sysno, zint staticrank) +static int zv_calc (void *rsi, zint sysno, zint staticrank, int *stop_flag) { int i, veclen; int score=0; @@ -841,3 +842,11 @@ static struct rank_control rank_control_vsm = { struct rank_control *rank_zv_class = &rank_control_vsm; +/* + * Local variables: + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +