X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fzebraapi.c;h=9ff2d7c63a632d1d1047831a729aa379994f551d;hb=0193e3e218a53df6c3011e2f16f73b1af9a7e19e;hp=7c4fccd1206334d1f451c1b0b74b1d0a6f097f97;hpb=bbdba174c32cd0f6f45781d6123d41186617ba5f;p=idzebra-moved-to-github.git diff --git a/index/zebraapi.c b/index/zebraapi.c index 7c4fccd..9ff2d7c 100644 --- a/index/zebraapi.c +++ b/index/zebraapi.c @@ -1,4 +1,4 @@ -/* $Id: zebraapi.c,v 1.170 2005-05-30 13:27:08 adam Exp $ +/* $Id: zebraapi.c,v 1.172 2005-05-31 17:10:06 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -154,8 +154,6 @@ ZebraHandle zebra_open (ZebraService zs) return zh; } - const char *passwd_plain = 0; - const char *passwd_encrypt = 0; ZebraService zebra_start (const char *configName) { return zebra_start_res(configName, 0, 0); @@ -171,11 +169,13 @@ ZebraService zebra_start_res (const char *configName, Res def_res, Res over_res) log_level_initialized = 1; } - yaz_log(log_level, "zebra_start %s",configName); + yaz_log(YLOG_LOG, "zebra_start %s %s",configName, ZEBRAVER); assert(configName); if ((res = res_open (configName, def_res, over_res))) { + const char *passwd_plain = 0; + const char *passwd_encrypt = 0; ZebraService zh = xmalloc(sizeof(*zh)); yaz_log (YLOG_DEBUG, "Read resources `%s'", configName); @@ -944,6 +944,9 @@ ZEBRA_RES zebra_records_retrieve(ZebraHandle zh, ODR stream, { char *buf; int len; + + zebra_get_hit_vector(zh, setname, poset[i].sysno); + recs[i].errCode = zebra_record_fetch(zh, poset[i].sysno, poset[i].score, stream, input_format, comp,