X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fzinfo.h;h=7597292764f601ccda5aed017a3d06a916a9cfe8;hb=9ceac3e96fe083b93b6fd4a676003dd10482e465;hp=a0cfacc1dedd749b97389b244a1f9fed48853426;hpb=ecb3935e78cd9bcfdebafdee0834cfb1060d7b5e;p=idzebra-moved-to-github.git diff --git a/index/zinfo.h b/index/zinfo.h index a0cfacc..7597292 100644 --- a/index/zinfo.h +++ b/index/zinfo.h @@ -1,5 +1,5 @@ -/* $Id: zinfo.h,v 1.30 2006-05-10 08:13:23 adam Exp $ - Copyright (C) 1995-2005 +/* $Id: zinfo.h,v 1.33 2006-05-19 23:20:24 adam Exp $ + Copyright (C) 1995-2006 Index Data ApS This file is part of the Zebra server. @@ -50,10 +50,6 @@ void zebraExplain_close (ZebraExplainInfo zei); int zebraExplain_curDatabase (ZebraExplainInfo zei, const char *database); int zebraExplain_newDatabase (ZebraExplainInfo zei, const char *database, int explain_database); -int zebraExplain_lookup_attr_su(ZebraExplainInfo zei, int index_type, - int set, int use); -int zebraExplain_lookup_attr_su_any_index(ZebraExplainInfo zei, - int set, int use); int zebraExplain_add_attr_su(ZebraExplainInfo zei, int index_type, int set, int use); int zebraExplain_lookup_attr_str(ZebraExplainInfo zei, int index_type, @@ -69,7 +65,13 @@ void zebraExplain_flush (ZebraExplainInfo zei, void *updateHandle); int zebraExplain_lookup_ord (ZebraExplainInfo zei, int ord, int *index_type, const char **db, - int *set, int *use, const char **string_index); + const char **string_index); + +int zebraExplain_ord_adjust_occurrences(ZebraExplainInfo zei, int ord, + int term_delta, int doc_delta); + +zint zebraExplain_ord_get_term_occurrences(ZebraExplainInfo zei, int ord); +zint zebraExplain_ord_get_doc_occurrences(ZebraExplainInfo zei, int ord); int zebraExplain_trav_ord(ZebraExplainInfo zei, void *handle, int (*f)(void *handle, int ord));