Skip to main content.
home | support | download

Back to List Archive

Re: -Sprog with -N

From: Paul Borghese <pborghese(at)not-real.groupstudy.com>
Date: Sun Sep 22 2002 - 22:26:17 GMT
Thanks Bill!

Is there a way to send a parameter to the -Sprog?  I would like to use
the same program for both incremental and full indexing.  

Thanks!

Paul

-----Original Message-----
From: swish-e@sunsite.berkeley.edu [mailto:swish-e@sunsite.berkeley.edu]
On Behalf Of Bill Moseley
Sent: Saturday, September 21, 2002 12:23 PM
To: Multiple recipients of list
Subject: [SWISH-E] Re: -Sprog with -N

On Sat, 21 Sep 2002, Paul Borghese wrote:

> Does the -N option work with the -S prog option when updating an
index?
> Or do I need to write the logic into the indexing program?

Yes, it should.  But do it in your -S prog -- why send a document to
swish
if you know it shouldn't be indexed?  Swish has to flush the input
buffer
which means reading the content-length bytes from the input file handle.

-- 
Bill Moseley moseley@hank.org
Received on Sun Sep 22 22:33:19 2002