X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=doc%2Ffield-structure.xml;h=a10712ae6c719becf7fa6cfb015435c2305184ef;hp=a1de6dd2ef95db362b83fd705fb5a42ae99847d9;hb=300581b6fb502ae0ac1fb3802458526a6d40e2be;hpb=2ce46f160259c9452405b68489c16654919cd16c 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 + +