X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=index%2Fzsets.c;h=8e481327aca3b22d7338652b6ec273272091c8c7;hp=5944d76b2d711d89698d7f4c62e485a266ba22e5;hb=91056985a65db6893bb136a9f92402dadfed659a;hpb=fca7da6419a78f8bd1346898c1e99be070feb279 diff --git a/index/zsets.c b/index/zsets.c index 5944d76..8e48132 100644 --- a/index/zsets.c +++ b/index/zsets.c @@ -1,4 +1,4 @@ -/* $Id: zsets.c,v 1.129 2007-12-04 11:13:17 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;