X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Frset.h;h=12e2e077473b08bd0de96e1de2f8b47162267576;hb=f7a3769dede0071696bdcc13ae2ee1efe6d52d96;hp=bf8f87b08e9ff917bddeb9602e656de77845e04e;hpb=7a2d0f25682890bde5d8f2883d6020df2ed0b365;p=idzebra-moved-to-github.git diff --git a/include/rset.h b/include/rset.h index bf8f87b..12e2e07 100644 --- a/include/rset.h +++ b/include/rset.h @@ -1,4 +1,4 @@ -/* $Id: rset.h,v 1.56 2005-06-07 14:53:38 adam Exp $ +/* $Id: rset.h,v 1.58 2006-05-10 08:13:18 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -61,13 +61,15 @@ struct rset_term { int reg_type; /** register type */ RSET rset; /** the rset corresponding to this term */ void *rankpriv;/** private stuff for the ranking algorithm */ + zint hits_limit;/** limit for hits if > 0 */ + char *ref_id; /** reference for this term */ struct ord_list *ol; }; typedef struct rset_term *TERMID; TERMID rset_term_create (const char *name, int length, const char *flags, int type, NMEM nmem, struct ord_list *ol, - int reg_type); + int reg_type, zint hits_limit, const char *ref_id); /** rsfd is a "file descriptor" for reading from a rset */ struct rsfd { /* the stuff common to all rsfd's. */ @@ -266,3 +268,11 @@ void rset_visit(RSET rset, int level); YAZ_END_CDECL #endif +/* + * Local variables: + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +