The zebramaps implements index_types functionality.
[idzebra-moved-to-github.git] / index / index.h
index 514a700..64d2745 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: index.h,v 1.204 2007-10-31 16:56:14 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 <idzebra/util.h>
 #include <idzebra/flock.h>
 #include <sortidx.h>
-#include <index_types.h>
 #if HAVE_SYS_TIMES_H
 #include <sys/times.h>
 #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,
@@ -430,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