1 /* $Id: rpnfacet.c,v 1.1 2007-11-01 14:56:07 adam Exp $
2 Copyright (C) 1995-2007
5 This file is part of the Zebra server.
7 Zebra is free software; you can redistribute it and/or modify it under
8 the terms of the GNU General Public License as published by the Free
9 Software Foundation; either version 2, or (at your option) any later
12 Zebra is distributed in the hope that it will be useful, but WITHOUT ANY
13 WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
30 #include <yaz/diagbib1.h>
32 #include <zebra_xpath.h>
33 #include <yaz/wrbuf.h>
37 #include <yaz/oid_db.h>
39 ZEBRA_RES rpn_facet(ZebraHandle zh, ODR stream, NMEM nmem,
40 struct rset_key_control *kc,
41 Z_AttributesPlusTerm *zapt,
42 int *position, int *num_entries,
43 ZebraScanEntry **list,
44 int *is_partial, RSET limit_set,
45 const char *index_type,
46 int ord_no, int *ords)
49 /* check that sort idx exist for ord */
50 /* sweep through result set and sort_idx at the same time */
51 zebra_setError(zh, YAZ_BIB1_TEMPORARY_SYSTEM_ERROR,
52 "facet not implemented");
60 * indent-tabs-mode: nil
62 * vim: shiftwidth=4 tabstop=8 expandtab