IDZEBRA
2.2.7
|
#include <stdio.h>
#include <yaz/log.h>
#include <yaz/diagbib1.h>
#include <idzebra/res.h>
#include <idzebra/util.h>
#include <attrfind.h>
#include "index.h"
#include <yaz/oid_db.h>
Go to the source code of this file.
Functions | |
static data1_att * | getatt (data1_attset *p, int att) |
static int | att_getentbyatt (ZebraHandle zi, const Odr_oid *set, int att, const char **name) |
ZEBRA_RES | zebra_attr_list_get_ord (ZebraHandle zh, Z_AttributeList *attr_list, zinfo_index_category_t cat, const char *index_type, const Odr_oid *curAttributeSet, int *ord) |
ZEBRA_RES | zebra_apt_get_ord (ZebraHandle zh, Z_AttributesPlusTerm *zapt, const char *index_type, const char *xpath_use, const Odr_oid *curAttributeSet, int *ord) |
ZEBRA_RES | zebra_sort_get_ord (ZebraHandle zh, Z_SortAttributes *sortAttributes, int *ord, int *numerical) |
|
static |
Definition at line 49 of file attribute.c.
References data1_attset_search_id(), zebra_register::dh, getatt(), data1_att::name, zebra_session::reg, zebra_session::res, and zebraExplain_loadAttsets().
Referenced by zebra_attr_list_get_ord().
|
static |
Definition at line 33 of file attribute.c.
References data1_attset::atts, data1_attset_child::child, data1_attset::children, data1_att::next, data1_attset_child::next, and data1_att::value.
Referenced by att_getentbyatt().
ZEBRA_RES zebra_apt_get_ord | ( | ZebraHandle | zh, |
Z_AttributesPlusTerm * | zapt, | ||
const char * | index_type, | ||
const char * | xpath_use, | ||
const Odr_oid * | curAttributeSet, | ||
int * | ord | ||
) |
Definition at line 135 of file attribute.c.
References attr_find(), attr_init_APT(), zebra_session::reg, zebra_attr_list_get_ord(), ZEBRA_FAIL, ZEBRA_OK, zebra_setError(), zebra_setError_zint(), zebraExplain_lookup_attr_str(), zebra_register::zei, zinfo_index_category_alwaysmatches, and zinfo_index_category_index.
Referenced by numeric_term(), rpn_scan(), search_position(), and string_term().
ZEBRA_RES zebra_attr_list_get_ord | ( | ZebraHandle | zh, |
Z_AttributeList * | attr_list, | ||
zinfo_index_category_t | cat, | ||
const char * | index_type, | ||
const Odr_oid * | curAttributeSet, | ||
int * | ord | ||
) |
Definition at line 69 of file attribute.c.
References att_getentbyatt(), attr_find(), attr_find_ex(), attr_init_AttrList(), zebra_session::reg, ZEBRA_FAIL, ZEBRA_OK, zebra_setError(), zebra_setError_zint(), zebraExplain_lookup_attr_str(), and zebra_register::zei.
Referenced by zebra_apt_get_ord(), and zebra_sort_get_ord().
ZEBRA_RES zebra_sort_get_ord | ( | ZebraHandle | zh, |
Z_SortAttributes * | sortAttributes, | ||
int * | ord, | ||
int * | numerical | ||
) |
Definition at line 190 of file attribute.c.
References attr_find(), attr_init_AttrList(), zebra_attr_list_get_ord(), ZEBRA_FAIL, ZEBRA_OK, and zinfo_index_category_sort.
Referenced by resultSetSortSingle().