30 #define STRCASECMP stricmp
32 #define STRCASECMP strcasecmp
59 int explain_database);
73 const char *index_type,
77 const char *index_type,
87 const char **index_type,
const char **db,
88 const char **string_index);
91 int term_delta,
int doc_delta);
97 int (*f)(
void *handle,
int ord,
98 const char *index_type,
99 const char *string_index,
short ZEBRA_RES
Common return type for Zebra API.
ZebraExplainInfo zebraExplain_open(Records records, data1_handle dh, Res res, int writeFlag, void *updateHandle, ZebraExplainUpdateFunc *)
void zebraExplain_loadAttsets(data1_handle dh, Res res)
int zebraExplain_curDatabase(ZebraExplainInfo zei, const char *database)
ZEBRA_RES ZebraExplainUpdateFunc(void *handle, Record drec, data1_node *n)
RecordAttr * rec_init_attr(ZebraExplainInfo zei, Record rec)
void zebraExplain_recordBytesIncrement(ZebraExplainInfo zei, int adjust_num)
zint zebraExplain_ord_get_term_occurrences(ZebraExplainInfo zei, int ord)
int zebraExplain_lookup_attr_str(ZebraExplainInfo zei, zinfo_index_category_t cat, const char *index_type, const char *str)
lookup ordinal from string index + index type
struct zebraExplainInfo * ZebraExplainInfo
int zebraExplain_removeDatabase(ZebraExplainInfo zei, void *updateHandle)
void zebraExplain_addSchema(ZebraExplainInfo zei, Odr_oid *oid)
void zebraExplain_recordCountIncrement(ZebraExplainInfo zei, int adjust_num)
@ zinfo_index_category_index
@ zinfo_index_category_alwaysmatches
@ zinfo_index_category_sort
@ zinfo_index_category_anchor
int zebraExplain_trav_ord(ZebraExplainInfo zei, void *handle, int(*f)(void *handle, int ord, const char *index_type, const char *string_index, zinfo_index_category_t cat))
zint zebraExplain_runNumberIncrement(ZebraExplainInfo zei, int adjust_num)
int zebraExplain_add_attr_su(ZebraExplainInfo zei, int index_type, int set, int use)
int zebraExplain_get_database_ord(ZebraExplainInfo zei)
int zebraExplain_ord_adjust_occurrences(ZebraExplainInfo zei, int ord, int term_delta, int doc_delta)
void zebraExplain_flush(ZebraExplainInfo zei, void *updateHandle)
void zebraExplain_close(ZebraExplainInfo zei)
int zebraExplain_add_attr_str(ZebraExplainInfo zei, zinfo_index_category_t cat, const char *index_type, const char *str)
int zebraExplain_lookup_ord(ZebraExplainInfo zei, int ord, const char **index_type, const char **db, const char **string_index)
zint zebraExplain_ord_get_doc_occurrences(ZebraExplainInfo zei, int ord)
int zebraExplain_newDatabase(ZebraExplainInfo zei, const char *database, int explain_database)
struct zebDatabaseInfo ZebDatabaseInfo