X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Findex.h;h=7a5152c4ffbe3af833b831e93ca452f7aab35c11;hb=2eacaa1e549428b231de5844f397466f6a44c59f;hp=8738d1aa178e80b2aad597647704bcb8e0032dcb;hpb=6988ba91e363565638c27a8d5895ad9afc409e75;p=idzebra-moved-to-github.git diff --git a/index/index.h b/index/index.h index 8738d1a..7a5152c 100644 --- a/index/index.h +++ b/index/index.h @@ -1,4 +1,4 @@ -/* $Id: index.h,v 1.199 2007-08-21 11:06:47 adam Exp $ +/* $Id: index.h,v 1.202 2007-10-29 16:57:52 adam Exp $ Copyright (C) 1995-2007 Index Data ApS @@ -29,7 +29,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include #include #include - +#include #if HAVE_SYS_TIMES_H #include #endif @@ -144,6 +144,7 @@ struct zebra_register { char *server_path_prefix; data1_handle dh; + zebra_index_types_t index_types; ZebraMaps zebra_maps; ZebraRankClass rank_classes; RecTypes recTypes; @@ -280,7 +281,7 @@ RSET rset_trunc(ZebraHandle zh, ISAM_P *isam_p, int no, const char *term, int length_term, const char *flags, int preserve_position, int term_type, NMEM rset_nmem, struct rset_key_control *kctrl, int scope, - struct ord_list *ol, int reg_type, + struct ord_list *ol, const char *index_type, zint hits_limit, const char *term_ref_id); void resultSetAddTerm(ZebraHandle zh, ZebraSet s, int reg_type, @@ -321,6 +322,9 @@ void extract_snippet(ZebraHandle zh, zebra_snippets *sn, struct ZebraRecStream *stream, RecType rt, void *recTypeClientData); +int zebra_get_rec_snippets(ZebraHandle zh, zint sysno, + zebra_snippets *snippets); + void zebra_index_merge(ZebraHandle zh); ZEBRA_RES zebra_buffer_extract_record(ZebraHandle zh, @@ -382,7 +386,7 @@ void zebra_term_untrans(ZebraHandle zh, int reg_type, ZEBRA_RES zebra_apt_get_ord(ZebraHandle zh, Z_AttributesPlusTerm *zapt, - int index_type, + const char *index_type, const char *xpath_use, const Odr_oid *curAttributeSet, int *ord); @@ -390,7 +394,7 @@ ZEBRA_RES zebra_apt_get_ord(ZebraHandle zh, ZEBRA_RES zebra_attr_list_get_ord(ZebraHandle zh, Z_AttributeList *attr_list, zinfo_index_category_t cat, - int index_type, + const char *index_type, const Odr_oid *curAttributeSet, int *ord);