From: Adam Dickmeiss Date: Mon, 31 Jul 2006 12:26:55 +0000 (+0000) Subject: Zebra Attribute Extension Approximative Limit changed from type 9 to X-Git-Tag: ZEBRA.2.0.0~19 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=930d9dc74a2bee5037ee1372dd5de4a6963ecd6b;p=idzebra-moved-to-github.git Zebra Attribute Extension Approximative Limit changed from type 9 to type 11, because type 9 is rank weight (which is was available in Zebra 1.3 series as well). --- diff --git a/doc/querymodel.xml b/doc/querymodel.xml index fb69f74..831eeff 100644 --- a/doc/querymodel.xml +++ b/doc/querymodel.xml @@ -1,5 +1,5 @@ - + Query Model @@ -210,7 +210,7 @@ bib-1 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. default @@ -350,7 +350,7 @@ 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 for details. @@ -1613,7 +1613,7 @@ - Zebra Extension Approximative Limit Attribute (type 9) + Zebra Extension Approximative Limit Attribute (type 11) Zebra computes - unless otherwise configured - @@ -1637,7 +1637,7 @@ For example, we might be interested in exact hit count for a, but for b we allow hit count estimates for 1000 and higher. - Z> find @and a @attr 9=1000 b + Z> find @and a @attr 11=1000 b @@ -1761,11 +1761,11 @@ - Zebra Extension Approximative Limit (type 9) + Zebra Extension Approximative Limit (type 11) The Zebra Extension Approximative Limit (type - 9) is a way to enable approximate + 11) is a way to enable approximate hit counts for scan hit counts, in the same way as for search hit counts. diff --git a/index/zrpn.c b/index/zrpn.c index 00cbabc..1c52b27 100644 --- a/index/zrpn.c +++ b/index/zrpn.c @@ -1,4 +1,4 @@ -/* $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 @@ -927,7 +927,7 @@ static ZEBRA_RES term_limits_APT(ZebraHandle zh, 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);