X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=index%2Findex.h;h=0cfe657cc241254df443c0a14cdae3875340c22a;hb=3f3bb5184cb06221655717e9cfeb646dc699ead5;hp=dcb408d03df5c6f941cc0ee6651a6f7e16541a1a;hpb=4aae319a0b820d1e8d3ab5d82c48f5047c9995f9;p=idzebra-moved-to-github.git diff --git a/index/index.h b/index/index.h index dcb408d..0cfe657 100644 --- a/index/index.h +++ b/index/index.h @@ -1,4 +1,4 @@ -/* $Id: index.h,v 1.185 2006-11-30 10:33:19 adam Exp $ +/* $Id: index.h,v 1.189 2007-01-05 10:45:11 adam Exp $ Copyright (C) 1995-2006 Index Data ApS @@ -35,6 +35,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #endif #include +#include #include #include #include @@ -134,7 +135,7 @@ struct zebra_register { ISAMB isamb; Dict dict; Dict matchDict; - SortIdx sortIdx; + zebra_sort_index_t sort_index; int registerState; /* 0 (no commit pages), 1 (use commit pages) */ time_t registerChange; BFiles bfs; @@ -167,6 +168,7 @@ struct zebra_service { const char *path_root; RecTypeClass record_classes; NMEM nmem; + yaz_timing_t timing; }; @@ -409,6 +411,8 @@ ZEBRA_RES zapt_term_to_utf8(ZebraHandle zh, Z_AttributesPlusTerm *zapt, char *termz); +int zebra_check_res(Res res); + #define FIRST_IN_FIELD_STR "\001^" #define FIRST_IN_FIELD_CHAR 1 #define FIRST_IN_FIELD_LEN 2