X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=rset%2Frsisam.c;fp=rset%2Frsisam.c;h=ec1e20339ce1ecb3cb62cc2a1fd2e51183652b9e;hb=40ca1d08c1d83b92e0b90951d918b252c61c63b2;hp=371b7c75beb54529287a46a7e896fbfc2b05cfe7;hpb=9af45a7f129664e5f802ff1cdfce08fbce8b1adb;p=idzebra-moved-to-github.git diff --git a/rset/rsisam.c b/rset/rsisam.c index 371b7c7..ec1e203 100644 --- a/rset/rsisam.c +++ b/rset/rsisam.c @@ -4,7 +4,11 @@ * 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 @@ -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_score (RSFD rfd, int *score); static const rset_control control = { @@ -60,7 +65,8 @@ static const rset_control control = r_rewind, r_count, r_read, - r_write + r_write, + r_score }; 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; } + +static int r_score (RSFD rfd, int *score) +{ + *score = -1; + return -1; +}