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
New result set method: r_score.
[idzebra-moved-to-github.git]
/
rset
/
rsisam.c
diff --git
a/rset/rsisam.c
b/rset/rsisam.c
index
371b7c7
..
ec1e203
100644
(file)
--- a/
rset/rsisam.c
+++ b/
rset/rsisam.c
@@
-4,7
+4,11
@@
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: rsisam.c,v $
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: rsisam.c,v $
- * Revision 1.10 1995-09-08 14:52:42 adam
+ * Revision 1.11 1995-10-06 14:38:05 adam
+ * New result set method: r_score.
+ * Local no (sysno) and score is transferred to retrieveCtrl.
+ *
+ * Revision 1.10 1995/09/08 14:52:42 adam
* Work on relevance feedback.
*
* Revision 1.9 1995/09/07 13:58:43 adam
* Work on relevance feedback.
*
* Revision 1.9 1995/09/07 13:58:43 adam
@@
-48,6
+52,7
@@
static void r_rewind (RSFD rfd);
static int r_count (rset_control *ct);
static int r_read (RSFD rfd, void *buf);
static int r_write (RSFD rfd, const void *buf);
static int r_count (rset_control *ct);
static int r_read (RSFD rfd, void *buf);
static int r_write (RSFD rfd, const void *buf);
+static int r_score (RSFD rfd, int *score);
static const rset_control control =
{
static const rset_control control =
{
@@
-60,7
+65,8
@@
static const rset_control control =
r_rewind,
r_count,
r_read,
r_rewind,
r_count,
r_read,
- r_write
+ r_write,
+ r_score
};
const rset_control *rset_kind_isam = &control;
};
const rset_control *rset_kind_isam = &control;
@@
-162,3
+168,9
@@
static int r_write (RSFD rfd, const void *buf)
logf (LOG_FATAL, "ISAM set type is read-only");
return -1;
}
logf (LOG_FATAL, "ISAM set type is read-only");
return -1;
}
+
+static int r_score (RSFD rfd, int *score)
+{
+ *score = -1;
+ return -1;
+}