X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Fquerymodel.xml;h=831eeff71e5e7e94013c342a9a0a897c37183af8;hb=4478d785b7769691261005c98063b98a5a5971b3;hp=cdf0d728ced3b44a0463623414a625681e4dc6b5;hpb=41107f15886b1645510c9dd82e067d56a6751b10;p=idzebra-moved-to-github.git diff --git a/doc/querymodel.xml b/doc/querymodel.xml index cdf0d72..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. @@ -786,13 +786,35 @@ tab/dan1.att, tab/explain.att, and tab/gils.att. + + + For example, some few Bib-1 use + attributes from the tab/bib1.att are: + + att 1 Personal-name + att 2 Corporate-name + att 3 Conference-name + att 4 Title + ... + att 1009 Subject-name-personal + att 1010 Body-of-text + att 1011 Date/time-added-to-db + ... + att 1016 Any + att 1017 Server-choice + att 1018 Publisher + ... + att 1035 Anywhere + att 1036 Author-Title-Subject + + + New attribute sets can be added by adding new tab/*.att configuration files, which need to - be sourced in the main configuration zebra.cfg. + be sourced in the main configuration zebra.cfg. - - In addition, Zebra allows the access of + In addition, Zebra allows the access of internal index names and dynamic XPath as use attributes; see and @@ -1551,7 +1573,6 @@ @@ -1591,7 +1613,7 @@ - Zebra Extension Approximative Limit Attribute (type 9) + Zebra Extension Approximative Limit Attribute (type 11) Zebra computes - unless otherwise configured - @@ -1611,10 +1633,11 @@ Specifying a limit of 0 resuts in exact hit counts. + 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 @@ -1738,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.