X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Findex.h;h=8b21f91c65a62b9a0f07cc9d12af57e0676bc929;hb=fc9684841bbfad0b625e7365b99bae7b7df737df;hp=90cdd023380e99d8bb26d464fad8dfdc43dfc981;hpb=af03c4a4f5320b52c7cc5f47bab7c9ad4b3e384d;p=idzebra-moved-to-github.git diff --git a/index/index.h b/index/index.h index 90cdd02..8b21f91 100644 --- a/index/index.h +++ b/index/index.h @@ -1,4 +1,4 @@ -/* $Id: index.h,v 1.91 2002-11-15 21:26:00 adam Exp $ +/* $Id: index.h,v 1.94 2003-03-04 23:30:20 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 Index Data Aps @@ -170,8 +170,6 @@ void zebra_load_atts (data1_handle dh, Res res); int key_SU_decode (int *ch, const unsigned char *out); int key_SU_encode (int ch, char *out); -// extern Res common_resource; - #define ENCODE_BUFLEN 768 struct encode_info { int sysno; /* previously written values for delta-compress */ @@ -298,6 +296,8 @@ struct zebra_session { ZebraLockHandle lock_shadow; int trans_no; + int trans_w_no; + int destroyed; ZebraSet sets; Res res; @@ -402,6 +402,7 @@ void zebraRankDestroy (struct zebra_register *reg); int att_getentbyatt(ZebraHandle zh, attent *res, oid_value set, int att); extern struct rank_control *rank1_class; +extern struct rank_control *rankzv_class; int zebra_record_fetch (ZebraHandle zh, int sysno, int score, ODR stream, oid_value input_format, Z_RecordComposition *comp, @@ -416,6 +417,7 @@ int bufferExtractRecord (ZebraHandle zh, struct recordGroup *rGroup, int delete_flag, int test_mode, + const char *recordType, int *sysno, const char *match_criteria, const char *fname);