X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Frsrel.h;h=08d01f3ee1d17f37d3b79e67f0df180687b8999b;hb=c9ac021f1381269609f3654384698f398cf46b96;hp=38acc0cf214bc812ec0531caa6a1a952371e2397;hpb=ddbba72d6ac2d51d596775b72ad64999e5cb0b77;p=idzebra-moved-to-github.git diff --git a/include/rsrel.h b/include/rsrel.h index 38acc0c..08d01f3 100644 --- a/include/rsrel.h +++ b/include/rsrel.h @@ -1,10 +1,23 @@ /* - * Copyright (C) 1994-1995, Index Data I/S + * Copyright (C) 1994-1997, Index Data I/S * All rights reserved. * Sebastian Hammer, Adam Dickmeiss * * $Log: rsrel.h,v $ - * Revision 1.1 1995-09-08 14:52:09 adam + * Revision 1.5 1997-09-22 12:39:06 adam + * Added get_pos method for the ranked result sets. + * + * Revision 1.4 1997/09/05 15:30:05 adam + * Changed prototype for chr_map_input - added const. + * Added support for C++, headers uses extern "C" for public definitions. + * + * Revision 1.3 1996/11/08 11:08:02 adam + * New internal release. + * + * Revision 1.2 1996/06/11 10:53:16 quinn + * Relevance work. + * + * Revision 1.1 1995/09/08 14:52:09 adam * Work on relevance sets. * */ @@ -14,6 +27,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + extern const rset_control *rset_kind_relevance; typedef struct rset_relevance_parms @@ -22,9 +39,18 @@ typedef struct rset_relevance_parms int max_rec; int (*cmp)(const void *p1, const void *p2); - ISAM is; + ISAM is; + ISAMC isc; ISAM_P *isam_positions; + int no_isam_positions; + int no_terms; + int *term_no; + int (*get_pos)(const void *p); } rset_relevance_parms; +#ifdef __cplusplus +} +#endif + #endif