~ubuntu-branches/ubuntu/warty/swish-e/warty

« back to all changes in this revision

Viewing changes to conf/example5.config

  • Committer: Bazaar Package Importer
  • Author(s): Ludovic Drolez
  • Date: 2004-03-11 08:41:07 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040311084107-7vp0mu82blq1qjvo
Tags: 2.4.1-3
Oops ! A comment was not removed to disable interactive compilation.
Closes: Bug#237332

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# ----- Example 5 - Using FileRules -------
 
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 is a simple example of how to use FileRules
 
11
#  to limit what is indexed.
 
12
#
 
13
#---------------------------------------------------
 
14
 
 
15
# Include our site-wide configuration settings:
 
16
 
 
17
IncludeConfigFile example4.config
 
18
 
 
19
 
 
20
# Index the current directory
 
21
 
 
22
IndexDir .
 
23
 
 
24
 
 
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...
 
28
 
 
29
# Don't index the stopwords directory
 
30
FileRules pathname contains stopwords CVS
 
31
 
 
32
# And don't index example6.spider or any index files
 
33
FileRules filename contains .spider index.
 
34
 
 
35
 
 
36
 
 
37
# end of example
 
38