root/swish-e/trunk/conf/example1.config

Revision 861, 1.4 kB (checked in by whmoseley, 7 years ago)

Updated the swish URL

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
Line 
1 # ----- Example 1 - limit by extension -------------
2 #
3 #  Please see the swish-e documentation for
4 #  information on configuration directives.
5 #  Documentation is included with the swish-e
6 #  distribution, and also can be found on-line
7 #  at http://swish-e.org
8 #
9 #
10 #  This example demonstrates how to limit
11 #  indexing to just .htm and .html files.
12 #
13 #---------------------------------------------------
14
15 # By default, swish creates an index file in the current directory
16 # called "index.swish-e" (and swish uses this name by default when
17 # searching.  This is convenient, but not always desired.
18
19 IndexFile /home/indexfiles/docs.index
20
21
22 # Although you can specify which files or directories to
23 # index on the command line with -i, it's common to specify
24 # it here.  Note that these are relative to the current directory.
25
26 # Index two directories, "docs" (below current directory) and
27 # "/home/otherdocs", and within those directories (and all sub
28 # directories) index only files ending in .html and .htm.
29
30 IndexDir docs /home/otherdocs
31 IndexOnly .htm .html
32
33
34 # If you wish to follow symbolic links use the following.
35 # Note that the default is "no".  I you are indexing many
36 # files, and you do not have any symbolic links, you may
37 # still want to set this to "yes".  This will avoid an extra
38 # lstat system call for every file while indexing.
39
40 FollowSymLinks yes
41
42
43 # end of example
44
Note: See TracBrowser for help on using the browser.