From: Adam Dickmeiss Date: Wed, 14 Jun 2006 13:44:15 +0000 (+0000) Subject: More notes about query model. X-Git-Tag: before.bug.529~24 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=6d074f35cdc58c223a2f0e4c7ee9d9be5d47ddfb;p=idzebra-moved-to-github.git More notes about query model. --- diff --git a/doc/querymodel.xml b/doc/querymodel.xml index 8852fc7..58c39c6 100644 --- a/doc/querymodel.xml +++ b/doc/querymodel.xml @@ -1,5 +1,5 @@ - + Query Model @@ -16,16 +16,19 @@ the Z39.50 protocol layer. This representation is not human readable, nor defines any convenient way to specify queries. + - Therefore, Index Data has defined a textual representaion in the - Prefix Query Format, short + 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 . - + + In addition, Zebra can be configured to understand and map the Common Query Language @@ -561,8 +564,19 @@ Relation Attributes (type = 2) - + Supported operations: = (default, of omitted), < > <=, >= . + Unsupported: Not equal. + + The following relation attributes are also supported: relevance (102). + + + All operations are based on a lexicographical ordering, + expect in the case for the + following structure attributes: numeric(109). + + + Ranked search for information retrieval in the title-register @@ -574,13 +588,18 @@ Position Attributes (type = 3) + + Only value of (any position(3) is supported. first in field(1), + and first in subfield(2) are unsupported but using them + does not trigger an error. + Structure Attributes (type = 4) + - For example, in the GILS schema (gils.abs), the @@ -596,10 +615,28 @@ Truncation Attributes (type = 5) + + Supported are: No truncation(100) which is the default, + Right trunation(1), Left truncation(2), + Left&Right truncation(3), + Process # in term(100) which maps + each # to .*, + Regexp-1(102) normal regular, Regexp-2(103) (regular with fuzzy), + + Completeness Attributes (type = 6) + + This attribute is ONLY used if structure w, p is to be + chosen. completeness is ignorned if not w, p is to be + used.. + Incomplete field(1) is the default and makes Zebra use + register type w. + complete subfield(2) and complete field(3) both triggers + search field type p.