projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Using YAZ_HAVE_ICU rather than HAVE_ICU.
[idzebra-moved-to-github.git]
/
index
/
zsets.c
diff --git
a/index/zsets.c
b/index/zsets.c
index
8810246
..
ac5177c
100644
(file)
--- 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.131 2007-12-28 10:29:40 adam Exp $
Copyright (C) 1995-2007
Index Data ApS
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;
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;
{
if (sysnos_offset < *no_sysnos)
*sysnos = recid;
@@
-1367,13
+1367,9
@@
static ZEBRA_RES zebra_recid_to_sysno(ZebraHandle zh,
while (r && key_found.mem[0] == recid)
{
if (sysnos_offset < *no_sysnos)
while (r && key_found.mem[0] == recid)
{
if (sysnos_offset < *no_sysnos)
- sysnos[sysnos_offset] =
+ sysnos[sysnos_offset++] =
key_found.mem[key_found.len-1];
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);
r = isamb_pp_read(pt, &key_found);
- sysnos_offset++;
}
isamb_pp_close(pt);
}
}
isamb_pp_close(pt);
}