Fix documentation of of chr's equivalent directive ZEB-672
[idzebra-moved-to-github.git] / test / api / test_sort1.idx
1 # Zebra indexes as referred to from the *.abs-files.
2 #
3
4 # Traditional word index
5 # Used if completenss is 'incomplete field' (@attr 6=1) and
6 # structure is word/phrase/word-list/free-form-text/document-text
7 index w
8 completeness 0
9 position 1
10 charmap string.chr
11
12 # Phrase index
13 # Used if completeness is 'complete {sub}field' (@attr 6=2, @attr 6=1)
14 # and structure is word/phrase/word-list/free-form-text/document-text
15 index p
16 completeness 1
17 charmap string.chr
18
19 # URX (URL) index
20 # Used if structure=urx (@attr 4=104)
21 index u
22 completeness 0
23 charmap urx.chr
24
25 # Numeric index
26 # Used if structure=numeric (@attr 4=109)
27 index n
28 completeness 0
29 charmap numeric.chr
30
31 # Null map index (no mapping at all)
32 # Used if structure=key (@attr 4=3)
33 index 0
34 completeness 0
35 position 1
36 charmap @
37
38 # Year
39 # Used if structure=year (@attr 4=4)
40 index y
41 completeness 0
42 charmap @
43
44 # Date
45 # Used if structure=date (@attr 4=5)
46 index d
47 completeness 0
48 charmap @
49
50 # Sort register as usual but specify another map : string-hat.
51 sort s
52 completeness 1
53 charmap test_sort1.chr
54
55 # Sort register with no map
56 sort S
57 completeness 1
58 charmap string.chr