Skip to main content.
home | support | download

Back to List Archive

Re: why can't i find the page that's indexed

From: Jean Mao <maoj(at)not-real.mail.nih.gov>
Date: Thu May 08 2003 - 14:01:02 GMT
Bill, I found the reason. The search timed out! So the problem solved once I
increase the time-out parameter from 10 to 30. Thank you very much for your
help!

Jean
----- Original Message ----- 
From: "Bill Moseley" <moseley@hank.org>
To: "Jean Mao" <maoj@mail.nih.gov>
Cc: <swish-e@sunsite.berkeley.edu>
Sent: Monday, May 05, 2003 1:16 PM
Subject: Re: [SWISH-E] why can't i find the page that's indexed


> Please CC the list, too.
>
> On Mon, May 05, 2003 at 12:47:03PM -0400, Jean Mao wrote:
> > I tried search directly with swish: ./swish-e -w washington and did get
hits
> > (see below). does that mean i should try your dev version? Thank you
very
> > much!
> >
> > # SWISH format: 2.2.3
> > # Search words: washington
> > # Number of hits: 6
> > # Search time: 0.029 seconds
> > # Run time: 0.116 seconds
> > 1000 biowulf.nih.gov/repeatmasker_help.txt "repeatmasker_help.txt" 97988
> > 1000 biowulf.nih.gov/hmmer.html "HMMER on Biowulf" 13626
> > 974 biowulf.nih.gov/tree-puzzle.html "Documentation of TREE-PUZZLE 5.0"
> > 72756
> > 974 biowulf.nih.gov/hmmer_homolog.out "hmmer_homolog.out" 168124
> > 878 biowulf.nih.gov/hmmer_pfam.out "hmmer_pfam.out" 23495
> > 878 biowulf.nih.gov/repeatmasker.html "RepeatMasker on Biowulf" 2349
>
> Where's the "." at the end of the list?  Did you just not copy that in the
email?  If that
> was missing you would probably get that error.  The script looks for the
lone "." to know
> that it has seen all of the results.
>
> Did you look at the web server's error log?  It would be nice to see why
it's failing.
>
> There's a debugging section in the swish.cgi manual.  It's titled
"DEBUGGING" so should be
> easy to search for.
>
> In short, you can run the program interactively outside of the web server.
>
> So you could do (assuming you are running a borne-type of shell like
bash):
>
>            $ SWISH_DEBUG=basic ./swish.cgi >outfile
>            Debug level set to: 1
>            Enter a query [all]: washington
>            Enter max results to display [1]: 20
>
> and then see what happens.  Look at "outfile" to see what output would
have gone to the web
> client, and any errors will be displayed on your console unless you also
redirect stderr.
>
> If that works then you have a problem with your environment.  Maybe you
have an older
> version of swish-e installed and when running under the web server you are
using that
> instead of the newer 2.2.3 swish-e binary.
>
>
> -- 
> Bill Moseley
> moseley@hank.org
Received on Thu May 8 14:04:58 2003