Skip to main content.
home | support | download

Back to List Archive

swish.jsp.. configuration dificulties

From: Tref Gare <trefg(at)>
Date: Wed Oct 30 2002 - 04:51:41 GMT
Hi all,
I'm having trouble getting swish-e to work via the java wrapper provided
by Capella.  Is there anyone out with some experience in the matter.
We're running 
Apache 2.0.43
Tomcat 4.1.12
And have installed the following as requested in the docs
Swish-e itself (ie: command line) is working fine however I can't get
any results to show via the jsp wrapper.  It's not spitting any errors
either so I'm a tad lost.
My swish.cfg (jsp wrapper config file) looks like this
#Parameter list used to execute de search
parameters swishrank swishdocpath swishtitle swishdescription
description swishdocsize swishlastmodified
#Search catalogs, left part of the = is the name of the catalog
#more catalogs...
catalog = /WWW/ACMI/catalog/acmi.index
catalog test = c:/WWW/ACMI/catalog/acmi.index
#The name of the catalog will be used as a search option. It will be
visible client side.
#Maximum number of records returned on each page. (3 possibles choices,
middle = default)
maxrecords 5 10 15
#Path of the swish executable.
path c:/Program Files/SWISH-E/swish-e.exe
#Path of the xsl used to parse the XML
xsl c:/WWW/ACMI/swish/searchg.xsl
#Path of the xml dtd
dtd c:/WWW/ACMI/swish/swish.dtd
Whereas my swish.config is:
IndexFile "C:/WWW/ACMI/catalog/acmi.index"
 IndexDir "C:/WWW/ACMI"
 IndexContents HTML .htm .html .jsp
 NoContents .gif .jpg .mdb
 StoreDescription HTML <body> 320
 IndexOnly .htm .html .jsp .xml .pdf
 FollowSymLinks yes
 MetaNames description
 PropertyNames description
 ReplaceRules prepend "filesys"
 ReplaceRules replace "filesys\." "http://localhost"
# ReplaceRules regex "/\x5c/\x2f/gi"
 ReplaceRules replace "\\\\" "/"
Tref Gare
Development Consultant
Level 19/114 William St, Melbourne VIC 3000
phone: +61 3 9642 5553
fax: +61 3 9642 1335
website:  <>
"This email is intended only for the use of the individual or entity
named above and contains information that is confidential. No
confidentiality is waived or lost by any mis-transmission. If you
received this correspondence in error, please notify the sender and
immediately delete it from your system. You must not disclose, copy or
rely on any part of this correspondence if you are not the intended
recipient. Any communication directed to clients via this message is
subject to our Agreement and relevant Project Schedule. Any information
that is transmitted via email which may offend may have been sent
without knowledge or the consent of Areeba."

Due to deletion of content types excluded from this list by policy,
this multipart message was reduced to a single part, and from there
to a plain text message.
Received on Wed Oct 30 04:56:17 2002