Switch to side-by-side view

--- a/src/sampleconf/fields
+++ b/src/sampleconf/fields
@@ -1,5 +1,7 @@
-# @(#$Id: fields,v 1.5 2008-10-08 08:27:34 dockes Exp $  (C) 2007 J.F.Dockes
-# Field names configuration. This defines how one may search ie for 
+# (C) 2007-2011 J.F.Dockes
+# License: GPL V2
+#
+# Field names configuration. This defines how one may search ie for:
 #   author:Hemingway
 #
 # Important: 
@@ -14,19 +16,33 @@
 # The choice of field names is rather arbitrary. Use of any of the aliases
 # defined in the following section will yield exactly the same results,
 # (both for indexing and search).
+#
+# Fields can have two relevance boost factors defined, such as in:
+# caption = S ; wdfinc=10
+#  and/or
+# caption = S ; boost = 10
+# The first line would boost the xapian "within document frequency" of
+# caption terms by a factor of 10 at indexing time. The second one (not
+# currently implemented) would automatically boost the weight of a
+# caption-based field query (ie: caption:mytitle or title:mytitle) at query
+# time.
+
 [prefixes]
 
 # Native fields matching omega uses, which we index without an X first
 # letter. Don't change these. Caption is used for 'title' to keep a last
-# remnant of omega compatibility inside the data record. Also D,F,M,Q,T,Y
-caption = S
+# remnant of omega compatibility inside the data record. 
+# Also reserved/hardcoded: D(ate), M(onth), Y(ear), 
+#           F(parentid), Q(uniqueid), T(mime type)
+caption = S ; wdfinc = 10
 author = A
 keywords = K
 
 # Extension examples. These are actually used by default by Recoll, you can
 # add your own to search for fields produced by the filters and not handled
 # by default. 
-# Some values are reserved by recoll: XP (for path elements).
+# Some values are internally reserved by recoll: 
+#   XP (for path elements).
 ext = XE
 filename = XSFN
 recipient = XTO
@@ -65,7 +81,7 @@
 [aliases]
 abstract = summary dc:summary description xesam:description
 author = creator dc:creator xesam:author xesam:creator from
-caption = title title dc:title subject
+caption = title dc:title subject
 # catg = dc:type contentCategory
 dbytes = size xesam:size
 dmtime = date dc:date dc:datemodified datemodified contentmodified \