X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=index%2Fcheck_res.c;h=337e216e968c9d51c073438f4f77e7aa198ec110;hp=d079022120e38b82f1f83ab201e803d2ec8bf7c6;hb=de044fbb534d2db022ca965d0328dac7a6edf032;hpb=d82c0efad7971d102220a8824e1ea674db5b7fe2 diff --git a/index/check_res.c b/index/check_res.c index d079022..337e216 100644 --- a/index/check_res.c +++ b/index/check_res.c @@ -1,8 +1,5 @@ -/* $Id: check_res.c,v 1.7 2007-10-29 09:25:40 adam Exp $ - Copyright (C) 1995-2007 - Index Data ApS - -This file is part of the Zebra server. +/* This file is part of the Zebra server. + Copyright (C) 1994-2011 Index Data Zebra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -20,6 +17,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if HAVE_CONFIG_H +#include +#endif #include #include #include @@ -31,7 +31,7 @@ int zebra_check_res(Res res) { int errors = 0; Res v = res_open(0, 0); - + res_add(v, "attset", ""); res_add(v, "chdir", ""); res_add(v, "dbaccess", ""); @@ -63,7 +63,6 @@ int zebra_check_res(Res res) res_add(v, "threads", ""); res_add(v, "trunclimit", ""); res_add(v, "truncmax", ""); - res_add(v, "indextypes", ""); res_add(v, "database", "p"); res_add(v, "explainDatabase", "p"); res_add(v, "fileVerboseLimit", "p"); @@ -73,10 +72,11 @@ int zebra_check_res(Res res) res_add(v, "storeKeys", "p"); res_add(v, "storeData", "p"); res_add(v, "openRW", "p"); + res_add(v, "facetNumRecs", ""); + res_add(v, "facetMaxChunks", ""); - errors = res_check(res, v); - + res_close(v); return errors; } @@ -84,6 +84,7 @@ int zebra_check_res(Res res) /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab