<chapter id="querymodel">
- <!-- $Id: querymodel.xml,v 1.22 2006-07-03 11:45:01 marc Exp $ -->
+ <!-- $Id: querymodel.xml,v 1.23 2006-07-31 12:26:55 adam Exp $ -->
<title>Query Model</title>
<sect1 id="querymodel-overview">
<td><literal>bib-1</literal></td>
<td>Standard PQF query language attribute set which defines the
semantics of Z39.50 searching. In addition, all of the
- non-use attributes (type 2-9) define the hard-wired
+ non-use attributes (types 2-11) define the hard-wired
Zebra internal query
processing.</td>
<td>default</td>
</para>
<para>
Atomic (APT) queries are always leaf nodes in the PQF query tree.
- UN-supplied non-use attributes type 2-9 are either inherited from
+ UN-supplied non-use attributes types 2-11 are either inherited from
higher nodes in the query tree, or are set to Zebra's default values.
See <xref linkend="querymodel-bib1"/> for details.
</para>
</para>
<sect3 id="querymodel-zebra-attr-limit">
- <title>Zebra Extension Approximative Limit Attribute (type 9)</title>
+ <title>Zebra Extension Approximative Limit Attribute (type 11)</title>
</sect3>
<para>
Zebra computes - unless otherwise configured -
For example, we might be interested in exact hit count for a, but
for b we allow hit count estimates for 1000 and higher.
<screen>
- Z> find @and a @attr 9=1000 b
+ Z> find @and a @attr 11=1000 b
</screen>
</para>
<note>
</warning>
<sect3 id="querymodel-zebra-attr-approx">
- <title>Zebra Extension Approximative Limit (type 9)</title>
+ <title>Zebra Extension Approximative Limit (type 11)</title>
</sect3>
<para>
The <literal>Zebra Extension Approximative Limit (type
- 9)</literal> is a way to enable approximate
+ 11)</literal> is a way to enable approximate
hit counts for <literal>scan</literal> hit counts, in the same
way as for <literal>search</literal> hit counts.
</para>
-/* $Id: zrpn.c,v 1.224 2006-07-04 10:25:21 adam Exp $
+/* $Id: zrpn.c,v 1.225 2006-07-31 12:26:56 adam Exp $
Copyright (C) 1995-2006
Index Data ApS
AttrType hits_limit_attr;
int term_ref_id_int;
- attr_init_APT(&hits_limit_attr, zapt, 9);
+ attr_init_APT(&hits_limit_attr, zapt, 11);
*hits_limit_value = attr_find(&hits_limit_attr, NULL);
attr_init_APT(&term_ref_id_attr, zapt, 10);