added spots for missing statistics: size_docs_field no_docs_field no_docs_database...
[idzebra-moved-to-github.git] / index / zvrank.c
index 0985262..88433bf 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: zvrank.c,v 1.18 2005-08-19 09:21:34 adam Exp $
+/* $Id: zvrank.c,v 1.20 2006-05-03 09:31:26 marc 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;