Skip to main content.
home | support | download

Back to List Archive

Re: putting SwishProgParameters on the command line

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Mon Jul 05 2004 - 17:07:23 GMT
On Mon, Jul 05, 2004 at 09:16:30AM -0700, Tac wrote:
> swish-e -c base.config -f pm -SwishProgParameters "table=pm"

 someprogram -table=pm | swish-e -c base.config -S prog -i stdin





>  
> (2) An alternative question, since I'm 99% sure what I want doesn't exist,
> is to ask "is the IndexFile name available to the -S prog script?"  In other
> words, if I run swish-e -c base.config -f pm, does the program file
> (spider.pl or whatever) know what the IndexFile is?  If so, I could key off
> of that, since that's also the table name.  Doesn't solve my limit problem,
> but it's a good start.

No.  All that gets passed to the program is the SwishProgParameters.



> (3) Finally, are there any plans to move the indexing into the API, rather
> than calling out to the swish-e program?  That's be great, for several
> reasons.  

No.  What are the reasons?

-- 
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 Jul 5 10:07:38 2004