1
# ----- Example 5 - Using FileRules -------
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
10
# This is a simple example of how to use FileRules
11
# to limit what is indexed.
13
#---------------------------------------------------
15
# Include our site-wide configuration settings:
17
IncludeConfigFile example4.config
20
# Index the current directory
25
# Now let's index only these example scripts
26
# It would be easier to use IndexOnly, true,
27
# but, this is just an example...
29
# Don't index the stopwords directory
30
FileRules pathname contains stopwords CVS
32
# And don't index example6.spider or any index files
33
FileRules filename contains .spider index.