Switch to unified view

a/src/sampleconf/fields b/src/sampleconf/fields
...
...
27
# The first line would boost the xapian "within document frequency" of
27
# The first line would boost the xapian "within document frequency" of
28
# caption terms by a factor of 10 at indexing time. The second one 
28
# caption terms by a factor of 10 at indexing time. The second one 
29
# (NOT CURRENTLY IMPLEMENTED) would automatically boost the weight of a
29
# (NOT CURRENTLY IMPLEMENTED) would automatically boost the weight of a
30
# caption-based field query (ie: caption:mytitle or title:mytitle) at query
30
# caption-based field query (ie: caption:mytitle or title:mytitle) at query
31
# time.
31
# time.
32
#
33
# The pfxonly attribute can also be set on entries to express that terms
34
# from the field should be indexed only with a prefix (in general, field
35
# terms are indexed both with and without a prefix).
32
36
33
# The following ones are probably hard-coded in the c code, can't change at
37
# The following ones are probably hard-coded in the c code, can't change at
34
# all.
38
# all.
35
# Also reserved: F(parentid), Q(uniqueid)
39
# Also reserved: F(parentid), Q(uniqueid)
36
author = A
40
author = A
...
...
42
ext = XE
46
ext = XE
43
rclmd5 = XM
47
rclmd5 = XM
44
dir = XP
48
dir = XP
45
abstract = XS
49
abstract = XS
46
filename = XSFN
50
filename = XSFN
51
containerfilename = XCFN ; pfxonly = 1
47
rclUnsplitFN = XSFS
52
rclUnsplitFN = XSFS
48
xapyear = Y
53
xapyear = Y
54
recipient = XTO
49
55
50
# Extension examples. These are actually used by default by Recoll, you can
56
# Extension examples. These are actually used by default by Recoll, you can
51
# add your own to search for fields produced by the filters and not handled
57
# add your own to search for fields produced by the filters and not handled
52
# by default. 
58
# by default. 
53
# Some values are internally reserved by recoll: 
59
# Some values are internally reserved by recoll: 
...
...
55
# Using XX was not a good idea. 
61
# Using XX was not a good idea. 
56
#
62
#
57
# I hereby commit to not using XY for Recoll:
63
# I hereby commit to not using XY for Recoll:
58
# *** USE XY for beginning your local prefixes *** ie:
64
# *** USE XY for beginning your local prefixes *** ie:
59
# myfield = XYMYPREF
65
# myfield = XYMYPREF
60
recipient = XTO
61
66
62
[stored]
67
[stored]
63
############################
68
############################
64
# Some fields are stored in the document data record inside the index and
69
# Some fields are stored in the document data record inside the index and
65
# can be displayed in result lists. There is no necessity that stored fields
70
# can be displayed in result lists. There is no necessity that stored fields
...
...
103
     dc:description
108
     dc:description
104
mtype = mime mimetype xesam:mimetype contenttype xesam:contenttype dc:format
109
mtype = mime mimetype xesam:mimetype contenttype xesam:contenttype dc:format
105
recipient = to xesam:recipient
110
recipient = to xesam:recipient
106
url = dc:identifier xesam:url
111
url = dc:identifier xesam:url
107
112
113
##################
114
# The queryaliases section defines aliases which are used exclusively at
115
# query time: there is no risk to pick up a random field from a document
116
# (e.g. an HTML meta field) and index it. 
117
[queryaliases]
118
#filename = fn
119
#containerfilename = cfn
120
108
[xattrtofields]
121
[xattrtofields]
109
######################
122
######################
110
# Processing for extended file attributes.
123
# Processing for extended file attributes.
111
# By default, attributes are processed as document fields (after removing
124
# By default, attributes are processed as document fields (after removing
112
# the 'user' prefix from the name on Linux).
125
# the 'user' prefix from the name on Linux).
113
# You can enter name translations as "xattrname = fieldname". Case matters.
126
# You can enter name translations as "xattrname = fieldname". Case matters.
114
# Entering an empty translation will disable use of the attribute.
127
# Entering an empty translation will disable use of the attribute.
115
# The values from the extended attributes will extend, not replace, the
128
# The values from the extended attributes will extend, not replace, the
116
# data found from equivalent fields inside the document. As an example, the
129
# data found from equivalent fields inside the document. 
117
# following would map a quite plausible "tags" extended attribute into the
130
118
# "keywords" field.
131
# As an example, the following would map a quite plausible "tags" extended
132
# attribute into the "keywords" field.
119
tags = keywords
133
tags = keywords
134
135
# Proposed or standard freedesktop.org extended attributes
136
xdg.tags = keywords
137
xdg.comment = abstract
138
120
# Some standard fields are not to be indexed
139
# Some standard fields are not to be indexed
121
mime_type =
140
mime_type =
122
charset =
141
charset =
123
142
124
########################
143
########################