2 * Copyright (C) 1995-1998, Index Data I/S
4 * Sebastian Hammer, Adam Dickmeiss
7 * Revision 1.7 1998-01-07 13:53:41 adam
8 * Queries using simple ranked operands returns right number of hits.
10 * Revision 1.6 1997/12/18 10:54:24 adam
11 * New method result set method rs_hits that returns the number of
12 * hits in result-set (if known). The ranked result set returns real
13 * number of hits but only when not combined with other operands.
15 * Revision 1.5 1997/09/22 12:39:06 adam
16 * Added get_pos method for the ranked result sets.
18 * Revision 1.4 1997/09/05 15:30:05 adam
19 * Changed prototype for chr_map_input - added const.
20 * Added support for C++, headers uses extern "C" for public definitions.
22 * Revision 1.3 1996/11/08 11:08:02 adam
23 * New internal release.
25 * Revision 1.2 1996/06/11 10:53:16 quinn
28 * Revision 1.1 1995/09/08 14:52:09 adam
29 * Work on relevance sets.
42 extern const rset_control *rset_kind_relevance;
44 #define RSREL_METHOD_A 1
45 #define RSREL_METHOD_B 2
47 typedef struct rset_relevance_parms
51 int (*cmp)(const void *p1, const void *p2);
55 ISAM_P *isam_positions; /* positions */
56 int no_isam_positions; /* no of positions (no of ISAM_P) */
57 int no_terms; /* no of terms */
58 int *term_no; /* which term at isam_position */
59 int (*get_pos)(const void *p);
62 } rset_relevance_parms;