X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Fzebra.sgml;h=7b83012b5d3ec0793793bae434dd4fc24bd6935e;hb=067b55382bc9916b3f7dcd473512c703d4de4a5d;hp=9bae27f4ce75eb6a7a8e71976fa7a82d28ff252d;hpb=8b6b24d02231b0c3960e9d0ab36aefed80783610;p=idzebra-moved-to-github.git diff --git a/doc/zebra.sgml b/doc/zebra.sgml index 9bae27f..7b83012 100644 --- a/doc/zebra.sgml +++ b/doc/zebra.sgml @@ -1,13 +1,13 @@
Zebra Server - Administrators's Guide and Reference <author><htmlurl url="http://www.indexdata.dk/" name="Index Data">, <tt><htmlurl url="mailto:info@index.ping.dk" name="info@index.ping.dk"></> -<date>$Revision: 1.33 $ +<date>$Revision: 1.35 $ <abstract> The Zebra information server combines a versatile fielded/free-text search engine with a Z39.50-1995 frontend to provide a powerful and flexible @@ -194,7 +194,7 @@ provide an adequate compiler. Unpack the distribution archive. In some cases, you may want to edit the top-level <tt/Makefile/, eg. to select a different C compiler, or -to specify machine-specific libraries in the <bf/NETLIB/ variable. +to specify machine-specific libraries in the <bf/ELIBS/ variable. When you are done editing the <tt>Makefile</tt> type: <tscreen><verb> @@ -1663,16 +1663,28 @@ given element set name with an element selection file. If an (@) is given in place of the filename, this corresponds to a null mapping for the given element set name. -<tag>elm <it/path name attribute/</tag> (o,r) Adds an element +<tag>any <it/tags/</tag> (o) This directive specifies a list of +attributes which should be appended to the attribute list given for each +element. The effect is to make every single element in the abstract +syntax searchable by way of the given attributes. This directive +provides an efficient way of supporting free-text searching across all +elements. However, it does increase the size of the index +significantly. The attributes can be qualified with a structure, as in +the <bf/elm/ directive below. + +<tag>elm <it/path name attributes/</tag> (o,r) Adds an element to the abstract record syntax of the schema. The <it/path/ follows the syntax which is suggested by the Z39.50 document - that is, a sequence of tags separated by slashes (/). Each tag is given as a comma-separated pair of tag type and -value surrounded by parenthesis. -The <it/name/ is the name of the element, and the <it/attribute/ -specifies what attribute to use when indexing the element. A ! in +The <it/name/ is the name of the element, and the <it/attributes/ +specifies which attributes to use when indexing the element in a +comma-separated list. A ! in place of the attribute name is equivalent to specifying an attribute name identical to the element name. A - in place of the attribute name -specifies that no indexing is to take place for the given element. +specifies that no indexing is to take place for the given element. The +attributes can be qualified with a &dquot;p&dquot; or &dquot;w&dquot; +to specify either word or phrase (complete field) indexing. </descrip> <it>