-/* $Id: retrieve.c,v 1.38 2006-04-25 13:52:38 adam Exp $
- Copyright (C) 1995-2005
+/* $Id: retrieve.c,v 1.42 2006-06-07 10:14:41 adam Exp $
+ Copyright (C) 1995-2006
Index Data ApS
This file is part of the Zebra server.
while(zebra_rec_keys_read(keys, &str, &slen, &key_in))
{
int i;
- int ord = key_in.mem[0];
+ int ord = CAST_ZINT_TO_INT(key_in.mem[0]);
int index_type;
const char *db = 0;
int set = 0;
const char *string_index = 0;
char dst_buf[IT_MAX_WORD];
- zebraExplain_lookup_ord (zh->reg->zei, ord,
- &index_type, &db,
- &set, &use, &string_index);
+ zebraExplain_lookup_ord(zh->reg->zei, ord, &index_type, &db,
+ &string_index);
if (string_index)
wrbuf_printf(wrbuf, "%s", string_index);
}
}
retrieveCtrl.localno = sysno;
+ retrieveCtrl.staticrank = recordAttr->staticrank;
retrieveCtrl.score = score;
retrieveCtrl.recordSize = recordAttr->recordSize;
retrieveCtrl.odr = stream;
*addinfo = retrieveCtrl.addinfo;
return retrieveCtrl.diagnostic;
}
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+