X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fzsets.c;h=8e481327aca3b22d7338652b6ec273272091c8c7;hb=527dab66d9847bb7f8a931c558306a070064bf25;hp=8810246c71c8d7b2af230871bbc2cf343748d901;hpb=ebc8a5296010dd0379bf7ae81b6c31145f8e85a7;p=idzebra-moved-to-github.git diff --git a/index/zsets.c b/index/zsets.c index 8810246..8e48132 100644 --- a/index/zsets.c +++ b/index/zsets.c @@ -1,4 +1,4 @@ -/* $Id: zsets.c,v 1.128 2007-12-03 11:49:11 adam Exp $ +/* $Id: zsets.c,v 1.130 2007-12-19 14:11:36 adam Exp $ Copyright (C) 1995-2007 Index Data ApS @@ -1307,7 +1307,7 @@ static ZEBRA_RES zebra_recid_to_sysno(ZebraHandle zh, int sysnos_offset = 0; int i; - if (!zh->reg->isamb) + if (!zh->reg->isamb || !zh->m_segment_indexing) { if (sysnos_offset < *no_sysnos) *sysnos = recid; @@ -1370,8 +1370,6 @@ static ZEBRA_RES zebra_recid_to_sysno(ZebraHandle zh, sysnos[sysnos_offset] = key_found.mem[key_found.len-1]; - yaz_log(YLOG_LOG, "Found " ZINT_FORMAT, - key_found.mem[key_found.len-1]); r = isamb_pp_read(pt, &key_found); sysnos_offset++; }