File: example2.config

package info (click to toggle)
swish-e 2.4.3-7
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 7,308 kB
  • ctags: 7,642
  • sloc: ansic: 47,402; sh: 8,508; perl: 5,281; makefile: 723; xml: 9
file content (38 lines) | stat: -rwxr-xr-x 960 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# ----- Example 2 - Include MetaNames -------------
#
#  Please see the swish-e documentation for
#  information on configuration directives.
#  Documentation is included with the swish-e
#  distribution, and also can be found on-line
#  at http://swish-e.org
#
#
#  This example demonstrates how to include
#  MetaNames in your index.
#  The metanames can be used when searching:
#
#     swish-e -w foo author=shakespeare
#
#---------------------------------------------------

# Specify what you want to be indexed.
# (see example1.config)

IndexFile /home/indexfiles/docs.index
IndexDir docs /home/otherdocs
IndexOnly .htm .html
FollowSymLinks yes

# Now, specify which meta name to include in the index.
MetaNames author description


# By default, undefined meta names are indexed as plain text
# This feature can change this behaviour.  Here we say
# don't index text in metatags unless defined in MetaNames

UndefinedMetaTags ignore


# end of example