|
a/src/sampleconf/fields |
|
b/src/sampleconf/fields |
1 |
# @(#$Id: fields,v 1.5 2008-10-08 08:27:34 dockes Exp $ (C) 2007 J.F.Dockes
|
1 |
# (C) 2007-2011 J.F.Dockes
|
|
|
2 |
# License: GPL V2
|
|
|
3 |
#
|
2 |
# Field names configuration. This defines how one may search ie for
|
4 |
# Field names configuration. This defines how one may search ie for:
|
3 |
# author:Hemingway
|
5 |
# author:Hemingway
|
4 |
#
|
6 |
#
|
5 |
# Important:
|
7 |
# Important:
|
6 |
# - the field names MUST be all lowercase alphabetic ascii here. They can
|
8 |
# - the field names MUST be all lowercase alphabetic ascii here. They can
|
7 |
# be anycased in the documents.
|
9 |
# be anycased in the documents.
|
|
... |
|
... |
12 |
# ALL prefixes MUST be all UPPERCASE. Extension prefixes begin with X
|
14 |
# ALL prefixes MUST be all UPPERCASE. Extension prefixes begin with X
|
13 |
#
|
15 |
#
|
14 |
# The choice of field names is rather arbitrary. Use of any of the aliases
|
16 |
# The choice of field names is rather arbitrary. Use of any of the aliases
|
15 |
# defined in the following section will yield exactly the same results,
|
17 |
# defined in the following section will yield exactly the same results,
|
16 |
# (both for indexing and search).
|
18 |
# (both for indexing and search).
|
|
|
19 |
#
|
|
|
20 |
# Fields can have two relevance boost factors defined, such as in:
|
|
|
21 |
# caption = S ; wdfinc=10
|
|
|
22 |
# and/or
|
|
|
23 |
# caption = S ; boost = 10
|
|
|
24 |
# The first line would boost the xapian "within document frequency" of
|
|
|
25 |
# caption terms by a factor of 10 at indexing time. The second one (not
|
|
|
26 |
# currently implemented) would automatically boost the weight of a
|
|
|
27 |
# caption-based field query (ie: caption:mytitle or title:mytitle) at query
|
|
|
28 |
# time.
|
|
|
29 |
|
17 |
[prefixes]
|
30 |
[prefixes]
|
18 |
|
31 |
|
19 |
# Native fields matching omega uses, which we index without an X first
|
32 |
# Native fields matching omega uses, which we index without an X first
|
20 |
# letter. Don't change these. Caption is used for 'title' to keep a last
|
33 |
# letter. Don't change these. Caption is used for 'title' to keep a last
|
21 |
# remnant of omega compatibility inside the data record. Also D,F,M,Q,T,Y
|
34 |
# remnant of omega compatibility inside the data record.
|
22 |
caption = S
|
35 |
# Also reserved/hardcoded: D(ate), M(onth), Y(ear),
|
|
|
36 |
# F(parentid), Q(uniqueid), T(mime type)
|
|
|
37 |
caption = S ; wdfinc = 10
|
23 |
author = A
|
38 |
author = A
|
24 |
keywords = K
|
39 |
keywords = K
|
25 |
|
40 |
|
26 |
# Extension examples. These are actually used by default by Recoll, you can
|
41 |
# Extension examples. These are actually used by default by Recoll, you can
|
27 |
# add your own to search for fields produced by the filters and not handled
|
42 |
# add your own to search for fields produced by the filters and not handled
|
28 |
# by default.
|
43 |
# by default.
|
29 |
# Some values are reserved by recoll: XP (for path elements).
|
44 |
# Some values are internally reserved by recoll:
|
|
|
45 |
# XP (for path elements).
|
30 |
ext = XE
|
46 |
ext = XE
|
31 |
filename = XSFN
|
47 |
filename = XSFN
|
32 |
recipient = XTO
|
48 |
recipient = XTO
|
33 |
|
49 |
|
34 |
############################
|
50 |
############################
|
|
... |
|
... |
63 |
# not aliases.
|
79 |
# not aliases.
|
64 |
|
80 |
|
65 |
[aliases]
|
81 |
[aliases]
|
66 |
abstract = summary dc:summary description xesam:description
|
82 |
abstract = summary dc:summary description xesam:description
|
67 |
author = creator dc:creator xesam:author xesam:creator from
|
83 |
author = creator dc:creator xesam:author xesam:creator from
|
68 |
caption = title title dc:title subject
|
84 |
caption = title dc:title subject
|
69 |
# catg = dc:type contentCategory
|
85 |
# catg = dc:type contentCategory
|
70 |
dbytes = size xesam:size
|
86 |
dbytes = size xesam:size
|
71 |
dmtime = date dc:date dc:datemodified datemodified contentmodified \
|
87 |
dmtime = date dc:date dc:datemodified datemodified contentmodified \
|
72 |
xesam:contentmodified
|
88 |
xesam:contentmodified
|
73 |
ext = fileextension xesam:fileextension
|
89 |
ext = fileextension xesam:fileextension
|