-Zebra interprets queries in one the following ways:
-<descrip>
-<tag>1 Phrase search</tag>
- Each token separated by white space is truncated according to the
- value of truncation attribute. If the completeness attribute
- is <bf/complete subfield/ the search is directed to the separate
-complete field
- register, if one exists for the given USE attribute. For other completeness attribute values the term is split
- into tokens according to the white-space specification in the
- character map. Only records in which each token exists in the order
- specified are matched.
-<tag>2 Word search</tag>
- The token is truncated according to the value of truncation attribute.
- The completeness attribute is ignored.
-<tag>3 Ranked search</tag>
- Each token separated by white space is truncated according to the value
- of truncation attribute. The completeness attribute is ignored.
-<tag>4 Numeric relation</tag>
- The token should consist of decimal digits. The integer is matched
- against integers in the register according to the relation attribute.
- The truncation - and the completenss attribute is ignored.
-<tag>5 Document identifier</tag>
- The token consists of exactly one document identifier. The
- truncation - and the completeness attribute is ignored.
-</descrip>
-
-For ranked searches the result sets are ranked and a score
-is associated with each record. All other result sets from the
-remaining four types are non-ranked.
-
-Combinations of the structure attribute and the relation attribute
-determine how the query is interpreted. The two following tables
-define how.
-
-<verb>
- Structure Attribute (4)
- none phrase(1) word(2) word list(6)
-
- none 1 1 2 3
- = (3) 1 1 2 3
- < (1) 4 4 4 4
-Relation <= (2) 4 4 4 4
-Attribute >= (4) 4 4 4 4
- (2) > (5) 4 4 4 4
- <> (6) - - - -
- rel (102) 3 3 3 3
- other 1 1 2 3
-
-</verb>
-
-<verb>
- Structure Attribute (4)
- free-form- document- local- string
- text text number
- (105) (106) (107) (108)
- none 3 3 5 1
- = (3) 3 3 5 1
- < (1) 4 4 5 4
- Relation <= (2) 4 4 5 4
- Attribute >= (4) 4 4 5 4
- (2) > (5) 4 4 5 4
- <> (6) - - 5 -
- rel (102) 3 3 5 3
- other 3 3 5 1
-
-</verb>
-