1 |
# ----- Example 2 - Include MetaNames ------------- |
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 include |
11 |
# MetaNames in your index. |
12 |
# The metanames can be used when searching: |
13 |
# |
14 |
# swish-e -w foo author=shakespeare |
15 |
# |
16 |
#--------------------------------------------------- |
17 |
|
18 |
# Specify what you want to be indexed. |
19 |
# (see example1.config) |
20 |
|
21 |
IndexFile /home/indexfiles/docs.index |
22 |
IndexDir docs /home/otherdocs |
23 |
IndexOnly .htm .html |
24 |
FollowSymLinks yes |
25 |
|
26 |
# Now, specify which meta name to include in the index. |
27 |
MetaNames author description |
28 |
|
29 |
|
30 |
# By default, undefined meta names are indexed as plain text |
31 |
# This feature can change this behaviour. Here we say |
32 |
# don't index text in metatags unless defined in MetaNames |
33 |
|
34 |
UndefinedMetaTags ignore |
35 |
|
36 |
|
37 |
# end of example |