/usr/share/man2html/swish++.conf is in man2html 1.6g-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | #FilterFile *.gz gunzip -c %f > @/tmp/swishtmp/%B
FilterFile *.gz gunzip -c %f > @/var/cache/man2html/swishtmp%B
# Unix manual pages
# -----------------
IncludeMeta author bugs caveats description diagnostics environment
IncludeMeta errors examples exit-status files history name notes
IncludeMeta options return-value see-also synopsis warnings
#Incremental no
#
# used by: index; when "yes", same as the -I option.
#
# When "yes", incrementally index files and add them to an existing
# index.
IndexFile /var/cache/man2html/man2html.swish++.index
#
# used by: index, search; same as the -i option.
#
# The name of the index file either generated or searched.
ResultSeparator "__--__"
#
# used by: search; same as the -R option
#
# The string to separate the parts in a search result when ResultsFormat
# is "classic". Either single or double quotes can be used to preserve
# whitespace. Quotes are stripped only if they match.
IncludeFile man *.[0-9]*
#
# used by: index; same as the -e option.
#
# A set of filename patterns of files to index and the modules they map
# to. Case is irrelevant for the module name but significant for the
# patterns. Filename patterns specified here MUST NOT also be specified
# in ExcludeFile.
#
# You should modify the set to include only those that you are actually
# using for increased performance.
StoreWordPositions no
#
# used by: index; when "no", same as the -P option.
#
# Store word positions during indexing needed to do "near" searches.
# Storing said data approximately doubles the size of the generated
# index.
#
WordThreshold 50000
#
# used by: index; same as the -W option.
#
# The word count past which partial indicies are generated and merged
# since all the words are too big to fit into memory at the same time.
# If you index and your machine begins to swap like mad, lower this
# value. The above works OK in a 64MB machine. A rule of thumb is to
# add 250000 words for each additional 64MB of RAM you have. These
# numbers are for a SPARC machine running Solaris. Other machines
# running other operating systems use memory differently. You simply
# have to experiment. Only the super-user can specify a value larger
# than the compiled-in default.
# the end
|