| Revision 659 (by dpavlin, 2005/02/15 21:48:16) |
added sort by any combination of swish-e fields which are defined by
PropertyNames in swish_isis.conf. This allowed adition of links which show
search results sorted by time, author and title then author or autor than
titme combination.
Any combination of fields for sorting can be specified (separated by spaces),
with optional asc(ending) or desc(ending) order.
|
# swish-e config file
#
# what to index?
#
# -S prog
#IndexDir ./all2xml.pl
IndexDir /bin/cat
#SwishProgParameters foo.xml
#
# debug, pass parametears
#SwishProgParameters -l 2002
# don't output html2xml progress.
#SwishProgParameters -q
# input file definition
DefaultContents XML2
# indexed metatags
MetaNames xml swishdocpath
# stored metatags
PropertyNames html
#MetaNameAlias swishtitle title
PropertyNameAlias swishtitle headline
#PropertyNameAlias swishdefault title_display
MetaNameAlias xml xml_swish
#MetaNamesRank -4 publisher
#MetaNamesRank 0 title.index
#MetaNamesRank 1 author.index
#UndefinedMetaTags error
#UndefinedXMLAttributes error
#XMLClassAttributes type
UndefinedMetaTags auto
UndefinedXMLAttributes auto
#
# index description
#
IndexFile ./index/webpac.index
IndexName "webpac"
IndexDescription "data imported to webpac"
IndexPointer "http://webpac.sf.net/"
IndexAdmin "dpavlin@rot13.org"
# Enable alternate search syntax.
# This means a search query can contain ``+'' and ``-'' as syntax parameter.
# this directive is removed in swish 2.4
#EnableAltSearchSyntax yes
#
# localization
#
# Translate and/or/not operators
#SwishSearchOperators i ili bez
# Default operator (and)
#SwishSearchDefaultRule i
#
# debug
#
ParserWarnLevel 0
IndexReport 0
# what additional properties to store? (used for sortby variable for WebPac.pm)
PropertyNames personalname_swish date_swish titleandresponsibility_swish publisher_swish language_swish udc_swish otherclass_swish library_swish series_swish