Honor position attribute, i.e. allow first-in-field search. To
[idzebra-moved-to-github.git] / tab / default.idx
1 # Zebra indexes as referred to from the *.abs-files.
2 #  $Id: default.idx,v 1.14 2006-09-08 14:40:56 adam Exp $
3 #
4
5 # Traditional word index
6 # Used if completenss is 'incomplete field' (@attr 6=1) and
7 # structure is word/phrase/word-list/free-form-text/document-text
8 index w
9 completeness 0
10 position 1
11 alwaysmatches 1
12 firstinfield 1
13 charmap string.chr
14
15 # Phrase index
16 # Used if completeness is 'complete {sub}field' (@attr 6=2, @attr 6=1)
17 # and structure is word/phrase/word-list/free-form-text/document-text
18 index p
19 completeness 1
20 charmap string.chr
21
22 # URX (URL) index
23 # Used if structure=urx (@attr 4=104)
24 index u
25 completeness 0
26 charmap urx.chr
27
28 # Numeric index
29 # Used if structure=numeric (@attr 4=109)
30 index n
31 completeness 0
32 charmap numeric.chr
33
34 # Null map index (no mapping at all)
35 # Used if structure=key (@attr 4=3)
36 index 0
37 completeness 0
38 position 1
39 charmap @
40
41 # Year
42 # Used if structure=year (@attr 4=4)
43 index y
44 completeness 0
45 charmap @
46
47 # Date
48 # Used if structure=date (@attr 4=5)
49 index d
50 completeness 0
51 charmap @
52
53 # Sort register
54 sort s
55 completeness 1
56 charmap string.chr
57