X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Findex.h;h=64d2745aec1cd905fe86e1bcc692266d7497c2dc;hb=c19bdb08393eb7b97f7783cb576f223b4fc505ed;hp=a03ee21d72d9c1933c2983eefdc2864c3fd589ab;hpb=6f7dfe3c3f09f7104c1ae7616c9d207edeab308d;p=idzebra-moved-to-github.git diff --git a/index/index.h b/index/index.h index a03ee21..64d2745 100644 --- a/index/index.h +++ b/index/index.h @@ -1,4 +1,4 @@ -/* $Id: index.h,v 1.203 2007-10-30 19:17:15 adam Exp $ +/* $Id: index.h,v 1.209 2007-11-06 10:29:59 adam Exp $ Copyright (C) 1995-2007 Index Data ApS @@ -29,7 +29,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include #include #include -#include #if HAVE_SYS_TIMES_H #include #endif @@ -144,7 +143,6 @@ struct zebra_register { char *server_path_prefix; data1_handle dh; - zebra_index_types_t index_types; zebra_maps_t zebra_maps; ZebraRankClass rank_classes; RecTypes recTypes; @@ -275,7 +273,7 @@ ZEBRA_RES rpn_scan(ZebraHandle zh, ODR stream, Z_AttributesPlusTerm *zapt, const Odr_oid *attributeset, int num_bases, char **basenames, int *position, int *num_entries, ZebraScanEntry **list, - int *is_partial, RSET limit_set); + int *is_partial, const char *set_name); RSET rset_trunc(ZebraHandle zh, ISAM_P *isam_p, int no, const char *term, int length_term, const char *flags, @@ -376,12 +374,13 @@ Dict dict_open_res(BFiles bfs, const char *name, int cache, int rw, void zebra_setError(ZebraHandle zh, int code, const char *addinfo); void zebra_setError_zint(ZebraHandle zh, int code, zint i); -void zebra_term_untrans_iconv(ZebraHandle zh, NMEM stream, int reg_type, +void zebra_term_untrans_iconv(ZebraHandle zh, NMEM stream, + const char *index_type, char **dst, const char *src); ZEBRA_RES zebra_get_hit_vector(ZebraHandle zh, const char *setname, zint sysno); -void zebra_term_untrans(ZebraHandle zh, int reg_type, +void zebra_term_untrans(ZebraHandle zh, const char *index_type, char *dst, const char *src); ZEBRA_RES zebra_apt_get_ord(ZebraHandle zh, @@ -429,6 +428,18 @@ int zebra_check_res(Res res); #define FIRST_IN_FIELD_CHAR 1 #define FIRST_IN_FIELD_LEN 2 +ZEBRA_RES zebra_term_limits_APT(ZebraHandle zh, + Z_AttributesPlusTerm *zapt, + zint *hits_limit_value, + const char **term_ref_id_str, + NMEM nmem); + +ZEBRA_RES rpn_facet(ZebraHandle zh, ODR stream, + Z_AttributesPlusTerm *zapt, + const Odr_oid *attributeset, + int *position, int *num_entries, + ZebraScanEntry **list, + int *is_partial, const char *set_name); YAZ_END_CDECL #endif