From: Marc Cromme Date: Tue, 28 Nov 2006 14:37:45 +0000 (+0000) Subject: added example of config file X-Git-Tag: ZEBRA.2.0.8~71 X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=commitdiff_plain;h=300581b6fb502ae0ac1fb3802458526a6d40e2be added example of config file --- diff --git a/doc/field-structure.xml b/doc/field-structure.xml index a1de6dd..a10712a 100644 --- a/doc/field-structure.xml +++ b/doc/field-structure.xml @@ -1,5 +1,5 @@ - + Field Structure and Character Sets @@ -108,6 +108,40 @@ + + Following are three excerpts of the standard + tab/default.idx configuration file. Notice + that the index and sort + are grouping directives, which bind all other following directives + to them: + + # Traditional word index + # Used if completenss is 'incomplete field' (@attr 6=1) and + # structure is word/phrase/word-list/free-form-text/document-text + index w + completeness 0 + position 1 + alwaysmatches 1 + firstinfield 1 + charmap string.chr + + ... + + # Null map index (no mapping at all) + # Used if structure=key (@attr 4=3) + index 0 + completeness 0 + position 1 + charmap @ + + ... + + # Sort register + sort s + completeness 1 + charmap string.chr + +