Skip to main content.
home | support | download

Back to List Archive

Re: Callback Functions For Indexing

From: andy rosbrook <andy_rosbrook(at)>
Date: Sun Feb 05 2006 - 16:44:01 GMT
Ok, ive been experimenting with the callback functions. I'm a bit confused 
as to what i can do through them?

I'd just like to know if there is anyway i could write to a database with 
two fields:

indexing_result | indexing_error

and if the indexing is successfuly i can just write TRUE to the database, if 
the indexing is not successfull then i would like to write FALSE to the 
database and write the error that meant indexing failed.

I've been trying to pipe out STDERR and have been trying to create an 
indexing API, just wondering if the problem above can be solved through 
callback functions? Is it possible to write out the DEBUG info to a database 
through a callback function?

sorry for all the questions!!

>From: Bill Moseley <>
>To: Multiple recipients of list <>
>Subject: [SWISH-E] Re: Callback Functions For Indexing
>Date: Fri, 27 Jan 2006 10:23:41 -0800 (PST)
>On Fri, Jan 27, 2006 at 09:44:44AM -0800, andy rosbrook wrote:
> > Well i just want to know after each URL in spider.config weather the
> > spidering was a success or a failure. I know i could just check for a
> > complete index.swish-e but this doesnt allow me to capture any error
> > messages.
>use test_response callback in your config.  That's called right after
>the HEAD or GET request has returned (and sometimes before all the
>data has be fetched from the remote server).
>Bill Moseley
>Unsubscribe from or help with the swish-e list:
>Help with Swish-e:

Are you using the latest version of MSN Messenger? Download MSN Messenger 
7.5 today!
Received on Sun Feb 5 08:44:11 2006