[ic] More than one swish-e index per catalog?

DB db at m-and-d.com
Wed Aug 24 15:23:40 UTC 2011

> On 08/23/2011 12:59 PM, DB wrote:
>>> On Mon, 2011-08-22 at 10:39 -0400, DB wrote:
>>>> I see in the docs:
>>>>> To configure your catalog to use Swish, modify the appropriate catalog.cfg and add:
>>>>> Swish command /usr/bin/swish-e
>>>>> Swish index products/swish-e.db
>>>> This implies that I can search only one swish-e index per catalog. Is
>>>> this indeed the case?
>>>> DB
>>>> _______________________________________________
>>>> interchange-users mailing list
>>>> interchange-users at icdevgroup.org
>>>> http://www.icdevgroup.org/mailman/listinfo/interchange-users
>>> Not at all.  Multiple indexes can be searched in a single catalog just
>>> by adding additional lines to catalog.cfg, (and also running additional
>>> engines with cron)
>>> Swish command /usr/bin/swish-e
>>> Swish index products/swish-e.index.1.db
>>> Swish index products/swish-e.index.2.db
>>> I would only do this if there was a strong reason to keep them separate
>>> though.  People don't really understand by default that their search is
>>> only looking at one index or the other...
>>> Rick
>> OK thanks - I can't find much detail in the documentation. I suppose
>> there's always the code itself. How would a swish-e form know which
>> index to search?
> You can use mv_search_file (sf) to specify the indexes used in a search form.
> Regards
> 	Racke

Thanks - I guess I should have thought of that. I hope you're the only
IC dev that shows up to the Pittsburgh perl event. Otherwise I'll be
buying an awful lot of beer for people ;)


More information about the interchange-users mailing list