Skip to main content.
home | support | download

Back to List Archive

Re: Log File

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Mon Apr 04 2005 - 13:58:50 GMT
On Mon, Apr 04, 2005 at 12:17:04AM -0700, S C wrote:
> Hi Moseley,
> 
> We have added the Log file here.
> 
> You will note here that at the end of the file it is
> ending abruptly without 
> writing something like
> ">> +Fetched 3 Cnt: ...................."

Not enough info.

> We are issuing the following command (For indexing).
>  /var/www/html/swishe/swish-e-2.2.3/src/swish-e -S prog -c /var/www/html/swishe/swish-e-2.2.3/rose_1.config -v 3 2> /var/www/html/swishe/swish-e-2.2.3/rose_1.log

You are capturing stderr, not stdout.  What's swish-e doing?  That is
written to stdout unless you use -E swish-e option.

Why not break your problem down into smaller parts?

  spider.pl rose_spider_1.conf > docs.txt

  swish-e -c rose_1.config -S prog -i stdin < docs.txt

Then look at the output from swish.  Is there a segfault?  Does it
say indexing is completed or report some error?


BTW -- not a big deal, but I would not use FileFilter and instead use
SWISH::Filter -- that means adding in the SWISH::Filter code into
rose_spider_1.conf.  The only difference, really, is that
SWISH::Filter filters on content-type instead of the file's name.




-- 
Bill Moseley
moseley@hank.org

Unsubscribe from or help with the swish-e list: 
   http://swish-e.org/Discussion/

Help with Swish-e:
   http://swish-e.org/current/docs
   swish-e@sunsite.berkeley.edu
Received on Mon Apr 4 06:58:55 2005