From: Adam Dickmeiss Date: Wed, 19 Dec 2007 14:11:36 +0000 (+0000) Subject: Funcion zebra_recid_to_sysno only attemps mapping if segment X-Git-Tag: ZEBRA.2.0.20 X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=commitdiff_plain;h=91056985a65db6893bb136a9f92402dadfed659a Funcion zebra_recid_to_sysno only attemps mapping if segment indexing is enabled. --- 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;