Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 097dd4e9e72d844830e823e5746f6c3b > files > 13

swish-e-2.4.7-1mdv2010.0.i586.rpm

# ----- Example 5 - Using FileRules -------
#
#  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 is a simple example of how to use FileRules
#  to limit what is indexed.
#
#---------------------------------------------------

# Include our site-wide configuration settings:

IncludeConfigFile example4.config


# Index the current directory

IndexDir .


# Now let's index only these example scripts
# It would be easier to use IndexOnly, true,
# but, this is just an example...

# Don't index the stopwords directory
FileRules pathname contains stopwords CVS

# And don't index example6.spider or any index files
FileRules filename contains .spider index.



# end of example