From 300581b6fb502ae0ac1fb3802458526a6d40e2be Mon Sep 17 00:00:00 2001 From: Marc Cromme Date: Tue, 28 Nov 2006 14:37:45 +0000 Subject: [PATCH] added example of config file --- doc/field-structure.xml | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) 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 + +
-- 1.7.10.4