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
First version of ISAMS.
[idzebra-moved-to-github.git]
/
index
/
retrieve.c
diff --git
a/index/retrieve.c
b/index/retrieve.c
index
8e7aeca
..
5e2ed20
100644
(file)
--- a/
index/retrieve.c
+++ b/
index/retrieve.c
@@
-4,7
+4,13
@@
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: retrieve.c,v $
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: retrieve.c,v $
- * Revision 1.6 1999-02-18 15:01:25 adam
+ * Revision 1.8 1999-03-09 16:27:49 adam
+ * More work on SDRKit integration.
+ *
+ * Revision 1.7 1999/03/02 16:15:43 quinn
+ * Added "tagsysno" and "tagrank" directives to zebra.cfg.
+ *
+ * Revision 1.6 1999/02/18 15:01:25 adam
* Minor changes.
*
* Revision 1.5 1999/02/17 11:29:56 adam
* Minor changes.
*
* Revision 1.5 1999/02/17 11:29:56 adam
@@
-190,12
+196,12
@@
int zebra_record_fetch (ZebraHandle zh, int sysno, int score, ODR stream,
recordAttr->recordOffset);
if (fc.record_int_len > 180)
{
recordAttr->recordOffset);
if (fc.record_int_len > 180)
{
- logf (LOG_LOG, "%0.70s", fc.record_int_buf);
- logf (LOG_LOG, "%0.70s", fc.record_int_buf +
+ logf (LOG_LOG, "%.70s", fc.record_int_buf);
+ logf (LOG_LOG, "%.70s", fc.record_int_buf +
(fc.record_int_len - 70));
}
else
(fc.record_int_len - 70));
}
else
- logf (LOG_LOG, "%0.*s",
+ logf (LOG_LOG, "%.*s",
fc.record_int_len, fc.record_int_buf);
/* the following two lines makes rec_rm delete buf */
fc.record_int_len, fc.record_int_buf);
/* the following two lines makes rec_rm delete buf */
@@
-233,6
+239,7
@@
int zebra_record_fetch (ZebraHandle zh, int sysno, int score, ODR stream,
retrieveCtrl.comp = comp;
retrieveCtrl.diagnostic = 0;
retrieveCtrl.dh = zh->dh;
retrieveCtrl.comp = comp;
retrieveCtrl.diagnostic = 0;
retrieveCtrl.dh = zh->dh;
+ retrieveCtrl.res = zh->res;
(*rt->retrieve)(&retrieveCtrl);
*output_format = retrieveCtrl.output_format;
*rec_bufp = retrieveCtrl.rec_buf;
(*rt->retrieve)(&retrieveCtrl);
*output_format = retrieveCtrl.output_format;
*rec_bufp = retrieveCtrl.rec_buf;