X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Frsrel.h;h=e1299bb119f24197c3bd07fef5a956b7843ad6ef;hb=50cca4dc248badf5fc15bfd0e24efc02476e5697;hp=a847c09b55bc6621e98750a20f000007395796ce;hpb=221024eb6b10e45d6479bb4154dd7de7fca1d477;p=idzebra-moved-to-github.git diff --git a/include/rsrel.h b/include/rsrel.h index a847c09..e1299bb 100644 --- a/include/rsrel.h +++ b/include/rsrel.h @@ -1,10 +1,13 @@ /* - * Copyright (C) 1994-1997, Index Data I/S + * Copyright (C) 1995-1998, Index Data I/S * All rights reserved. * Sebastian Hammer, Adam Dickmeiss * * $Log: rsrel.h,v $ - * Revision 1.6 1997-12-18 10:54:24 adam + * Revision 1.7 1998-01-07 13:53:41 adam + * Queries using simple ranked operands returns right number of hits. + * + * Revision 1.6 1997/12/18 10:54:24 adam * New method result set method rs_hits that returns the number of * hits in result-set (if known). The ranked result set returns real * number of hits but only when not combined with other operands. @@ -49,11 +52,10 @@ typedef struct rset_relevance_parms ISAM is; ISAMC isc; - ISAM_P *isam_positions; - - int no_isam_positions; - int no_terms; - int *term_no; + ISAM_P *isam_positions; /* positions */ + int no_isam_positions; /* no of positions (no of ISAM_P) */ + int no_terms; /* no of terms */ + int *term_no; /* which term at isam_position */ int (*get_pos)(const void *p); int method;