Remove local attribute handling and other dead code.
[idzebra-moved-to-github.git] / index / zvrank.c
index ed9cefd..c2fc218 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: zvrank.c,v 1.17 2005-05-24 11:27:19 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)
+static int zv_calc (void *rsi, zint sysno, zint staticrank, int *stop_flag)
 {
     int i, veclen; 
     int score=0;
@@ -839,6 +840,13 @@ static struct rank_control rank_control_vsm = {
     zv_add,
 };
  
-struct rank_control *rankzv_class = &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
+ */
 
-/* EOF */