X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Frset.h;h=bf8f87b08e9ff917bddeb9602e656de77845e04e;hb=810bce66201f40acfd7e8577d3997e6ea385f1cf;hp=b37becc210123db59265bb283def7fa33194f433;hpb=1285f0f6eeb151a62b69d8d3381c54ace03e55d4;p=idzebra-moved-to-github.git diff --git a/include/rset.h b/include/rset.h index b37becc..bf8f87b 100644 --- a/include/rset.h +++ b/include/rset.h @@ -1,4 +1,4 @@ -/* $Id: rset.h,v 1.55 2005-06-07 07:41:04 adam Exp $ +/* $Id: rset.h,v 1.56 2005-06-07 14:53:38 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -58,6 +58,7 @@ struct rset_term { This info is used to return encoded term back for search-result-1 . */ + int reg_type; /** register type */ RSET rset; /** the rset corresponding to this term */ void *rankpriv;/** private stuff for the ranking algorithm */ struct ord_list *ol; @@ -65,7 +66,8 @@ struct rset_term { 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 type, NMEM nmem, struct ord_list *ol, + int reg_type); /** rsfd is a "file descriptor" for reading from a rset */ struct rsfd { /* the stuff common to all rsfd's. */