From: Marc Cromme Date: Wed, 14 Jun 2006 13:57:45 +0000 (+0000) Subject: XML sanitize new text X-Git-Tag: before.bug.529~23 X-Git-Url: http://jsfdemo.indexdata.com/?a=commitdiff_plain;h=f5497e3c3bcee00bc10b576506b5d7901bb7b3bd;p=idzebra-moved-to-github.git XML sanitize new text --- diff --git a/doc/querymodel.xml b/doc/querymodel.xml index 58c39c6..f1a7964 100644 --- a/doc/querymodel.xml +++ b/doc/querymodel.xml @@ -1,43 +1,85 @@ - + Query Model Query Model Overview - - Zebra is born as a networking Information Retrieval engine adhering - to the international standards - Z39.50 and - SRU, - and implement the query model defined there. - Unfortunately, the Z39.50 query model has only defined a binary - encoded representation, which is used as transport packaging in - the Z39.50 protocol layer. This representation is not human - readable, nor defines any convenient way to specify queries. - + + + Query Languages + + + Zebra is born as a networking Information Retrieval engine adhering + to the international standards + Z39.50 and + SRU, + and implement the query model defined there. + Unfortunately, the Z39.50 query model has only defined a binary + encoded representation, which is used as transport packaging in + the Z39.50 protocol layer. This representation is not human + readable, nor defines any convenient way to specify queries. + + + + Prefix Query Format (PQF) + - Therefore, Index Data has defined a textual representation of the - RPN query: Prefix Query Format, short - PQF, which then has been adopted by other - parties developing Z39.50 software. It is also often referred to as - Prefix Query Notation, or in short - PQN, and is thoroughly explained in - . - + Index Data has defined a textual representaion in the + Prefix Query Format, short + PQF, which then has been adopted by other + parties developing Z39.50 software. It is also often referred to as + Prefix Query Notation, or in short + PQN, and is thoroughly explained in + . + + + + + Common Query Language (CQL) - In addition, Zebra can be configured to understand and map the - Common Query Language - (CQL) - to PQF. See an introduction on the mapping to the internal query - representation in - . - - + In addition, Zebra can be configured to understand and map the + Common Query Language + (CQL) + to PQF. See an introduction on the mapping to the internal query + representation in + . + + + + + + + Query types + + + + + Explain Queries + + + + + + Search Queries + + + + + + Scan Queries + + + + + + + + Prefix Query Format structure and syntax @@ -72,7 +114,7 @@ The Zebra internal query procesing is modeled after the Bib1 attribute set, and the non-use - attributes type 2-9 are hard-wired in. It is therefore essential + attributes type 2-6 are hard-wired in. It is therefore essential to be familiar with . @@ -559,11 +601,16 @@ + + See also + for + alternative acess to the Zebra internal index names and XPath queries. + + Relation Attributes (type = 2) - - + Supported operations: = (default, of omitted), < > <=, >= . Unsupported: Not equal. @@ -572,11 +619,9 @@ All operations are based on a lexicographical ordering, expect in the case for the - following structure attributes: numeric(109). - - + following structure attributes: numeric(109). - + Ranked search for information retrieval in the title-register @@ -585,7 +630,8 @@ Z> find @attr 1=4 @attr 2=102 "information retrieval" - + + Position Attributes (type = 3) @@ -593,6 +639,7 @@ and first in subfield(2) are unsupported but using them does not trigger an error. + @@ -624,7 +671,7 @@ Regexp-1(102) normal regular, Regexp-2(103) (regular with fuzzy), - + @@ -637,6 +684,7 @@ register type w. complete subfield(2) and complete field(3) both triggers search field type p. +