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

Stefan Hornburg (Racke) racke at linuxia.de
Tue Aug 23 11:27:39 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


-- 
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team




More information about the interchange-users mailing list