Limiting hits to INT_MAX, because yaz can't handle 64-bit hitcounts
[idzebra-moved-to-github.git] / index / main.c
index 59ecac7..25f59ff 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.110 2004-01-22 11:27:21 adam Exp $
+/* $Id: main.c,v 1.112 2004-07-28 08:15:45 adam Exp $
    Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004
    Index Data Aps
 
@@ -122,7 +122,7 @@ int main (int argc, char **argv)
                    const char *config = configName ? configName : "zebra.cfg";
                     logf (LOG_LOG, "Zebra version %s %s",
                           ZEBRAVER, ZEBRADATE);
-                    zs = zebra_start (config, 0, res);
+                    zs = zebra_start_res (config, 0, res);
                     if (!zs)
                     {
                        yaz_log (LOG_FATAL, "Cannot read config %s", config);
@@ -258,7 +258,7 @@ int main (int argc, char **argv)
         else if (ret == 'g')
            res_set(res, "group", arg);
         else if (ret == 'f')
-           res_set(res, "verboseLimit", arg);
+           res_set(res, "fileVerboseLimit", arg);
         else if (ret == 'c')
             configName = arg;
         else if (ret == 't')