X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=doc%2Fquerymodel.xml;h=3a3f781364c18f34d8ca197c1453277728869fb9;hp=6c12214e2c9a7b6f948f2512a6f8db10b1a66601;hb=4aae319a0b820d1e8d3ab5d82c48f5047c9995f9;hpb=2c6926a6b89cacdaa99b701847ef347c35f62420 diff --git a/doc/querymodel.xml b/doc/querymodel.xml index 6c12214..3a3f781 100644 --- a/doc/querymodel.xml +++ b/doc/querymodel.xml @@ -1,5 +1,5 @@ - + Query Model
@@ -205,7 +205,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 (types 2-11) define the hard-wired + non-use attributes (types 2-12) define the hard-wired Zebra internal query processing. default @@ -348,7 +348,7 @@ Atomic (APT) queries are always leaf nodes in the PQF query tree. - UN-supplied non-use attributes types 2-11 are either inherited from + UN-supplied non-use attributes types 2-12 are either inherited from higher nodes in the query tree, or are set to Zebra's default values. See for details. @@ -1434,7 +1434,7 @@ model. These extensions are non-standard and non-portable: most functional extensions are modeled over the bib-1 attribute set, - defining type 7-9 attributes. + defining type 7 and higher values. There are also the special string type index names for the idxpath attribute set. @@ -1514,17 +1514,23 @@ 1.1 - Approx Limit - 11 + Term Reference + 10 search 1.4 - Term Reference - 10 + Local Approx Limit + 11 search 1.4 + + Global Approx Limit + 12 + search + 2.0.8 + @@ -1622,12 +1628,37 @@ Z> find @attr 2=102 @or @attr 9=30 @attr 1=4 utah @attr 9=20 utah -
+ + +
+ Zebra Extension Term Reference Attribute (type 10) + + Zebra supports the searchResult-1 facility. + If the Term Reference Attribute (type 10) is + given, that specifies a subqueryId value returned as part of the + search result. It is a way for a client to name an APT part of a + query. + + + + + Experimental. Do not use in production code. + + + +
+ + -
- Zebra Extension Approximative Limit Attribute (type 11) +
+ Local Approximative Limit Attribute (type 11) - Zebra computes - unless otherwise configured - + Zebra computes - unless otherwise configured - the exact hit count for every APT (leaf) in the query tree. These hit counts are returned as part of the searchResult-1 facility in the binary encoded Z39.50 search @@ -1663,45 +1694,36 @@ Do not use approximative hit count limits in conjunction with relevance ranking, as re-sorting of the - result set obviosly only works when the entire result set has + result set only works when the entire result set has been processed. - - - This facility clashes with rank weight, because there all - documents in the hit lists need to be examined for scoring and - re-sorting. - It is an experimental - extension. Do not use in production code. - -
-
- Zebra Extension Term Reference Attribute (type 10) +
+ Global Approximative Limit Attribute (type 12) - Zebra supports the searchResult-1 facility. - If the Term Reference Attribute (type 10) is - given, that specifies a subqueryId value returned as part of the - search result. It is a way for a client to name an APT part of a - query. + By default Zebra computes precise hit counts for a query as + a whole. Setting attribute 12 makes it perform approximative + hit counts instead. It has the same semantics as + estimatehits for the . - + The attribute (12) can occur anywhere in the query tree. + Unlike regular attributes it does not relate to the leaf (APT) + - but to the whole query. + - Experimental. Do not use in production code. - + Do not use approximative hit count limits + in conjunction with relevance ranking, as re-sorting of the + result set only works when the entire result set has + been processed. + -
+
-
Zebra specific Scan Extensions to all Attribute Sets