Skip to main content.
home | support | download

Back to List Archive

Re: How do I add ability to search all indexes...

From: Bill Moseley <moseley(at)>
Date: Wed Sep 24 2003 - 22:55:39 GMT
On Wed, Sep 24, 2003 at 02:10:48PM -0700, Ken Jackson wrote:
> I would like to have my .cgi interface have the ability to search ALL  
> indexes that I have created.  How do I configure it to do that?  I am  
> using the swish.cgi script that is supplied with Swish-E.  Thanks for  
> your help...
> Here are some snippets from swish.cgi that might help:
>  From top of swish.cgi:
> swish_index      
> =>['index.theeagle','index.aggiesports','index.brazossports',' 
> andlivestockpost','index.grimes','index.classificados','index.grimesclas 
> sifieds'],

Does that not work?

>  From array reference section of swish.cgi:
> swish_index => [qw/ index.theeagle index.brazossports index.aggiesports  
> index.landandlivestockpost index.grimes index.classificados  
> index.grimesclassifieds /],
> labels  => ['The Eagle', 'Brazos Sports', 'Aggie Sports', 'Land and  
> Livestock Post', 'Grimes', 'Classificados - The Eagle', 'Classifieds -  
> Grimes'],
>              description => 'Select Site: ',
> By the way, do I need both of these swish_index references in this  
> form?  It works somehow...

No, you don't need both.  That second one is just showing how to list 
multiple indexes when using the "select_indexes" option (which adds a 
widget to select which indexes to search).

Bill Moseley
Received on Wed Sep 24 22:55:47 2003