Peter Karman wrote:
> One thing that will help narrow down this behaviour is to find out if
> the problem is in swish.cgi or spider.pl or swish-e or...
> Have you tried a search from the command line to see how the & is
> displayed there?
I've decided I don't know what you mean. The swish-e command will not
return a URL I think. Can you give me an example of the command line you
were thinking of here?
/home/httpd/swish-e> bin/swish-e -f indexes/fusion.index -w lori
# SWISH format: 2.4.2
# Search words: lori
# Removed stopwords:
# Number of hits: 4
# Search time: 0.001 seconds
# Run time: 0.040 seconds
1000 webreports/fusion/2003/usage_200312.html "Usage Statistics for
f-www.sph.umich.edu - December 2003" 120819
1000 webreports/fusion/2003/usage_200310.html "Usage Statistics for
f-www.sph.umich.edu - October 2003" 120242
1000 Presentations/presentations.txt "presentations.txt" 5268
1000 people.html "people.html" 21385
> Are you using spider.pl to index?
Data was indexed directly by a swish-e command
> An example of the source HTML would be helpful, too.
I presume you mean the HTML search invocation:
<form method=get action=/pubcgi/swish.cgi>
<input maxlength=200 size=18 type=text name=query>
<input value="Search!" type=submit name=submit>
<input value=fusion type=hidden name=use>
<input value=selected type=hidden name=swishrank>
> Terry Gliedt wrote on 9/20/04 3:33 PM:
>> Using swish-e-2.4.2 as well as swish-e-2.5.2-2004-09-16, it appears to
>> me that swish is building incomplete URLs as you can see in this
>> fragment of HTML taken from the HTML generated as a result of a simple
>> I was surprised with the use of a character entity before 'start=' in
>> the URL, but that actually works (see URL for 'Next 15').
>> The use= key/value is not being used with the other links, so swish
>> attempts to use the default database (which does not exist) and I get
>> an error for the query.
>> <tr><td colspan="2" bgcolor="#EEEEEE"><font size="-1" face="Geneva,
>> Arial, Helvetica, San-Serif"> Page:</font>1
>> <a href="/pubcgi/swish.cgi?query=peggy&start=15">2</a>
>> <a href="/pubcgi/swish.cgi?query=peggy&start=30">3</a>
>> <a href="/pubcgi/swish.cgi?query=peggy&start=45">4</a>
>> <a href="/pubcgi/swish.cgi?query=peggy&start=60">5</a>
>> <a href="/pubcgi/swish.cgi?query=peggy&use=fusion&start=15">
>> Next 15</a></td></tr>
>> Anyone else see this? Or have a fix/circumvention? TIA
Terry Gliedt tpg(at)not-real.umich.edu http://www.hps.com/~tpg/
Biostatistics, Univ of Michigan Personal Email: firstname.lastname@example.org
Received on Tue Sep 21 06:17:51 2004