Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Interchange: users

{Spam?} Re: More than one swish-e index per catalog?

 

 

Interchange users RSS feed   Index | Next | Previous | View Threaded


lists at gmnet

Aug 22, 2011, 4:51 PM

Post #1 of 4 (223 views)
Permalink
{Spam?} Re: More than one swish-e index per catalog?

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
> 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




_______________________________________________
interchange-users mailing list
interchange-users [at] icdevgroup
http://www.icdevgroup.org/mailman/listinfo/interchange-users


db at m-and-d

Aug 23, 2011, 3:59 AM

Post #2 of 4 (214 views)
Permalink
Re: More than one swish-e index per catalog? [In reply to]

> 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?

DB

_______________________________________________
interchange-users mailing list
interchange-users [at] icdevgroup
http://www.icdevgroup.org/mailman/listinfo/interchange-users


racke at linuxia

Aug 23, 2011, 4:27 AM

Post #3 of 4 (213 views)
Permalink
Re: More than one swish-e index per catalog? [In reply to]

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


_______________________________________________
interchange-users mailing list
interchange-users [at] icdevgroup
http://www.icdevgroup.org/mailman/listinfo/interchange-users


db at m-and-d

Aug 24, 2011, 8:23 AM

Post #4 of 4 (208 views)
Permalink
Re: More than one swish-e index per catalog? [In reply to]

> 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 ;)

DB



_______________________________________________
interchange-users mailing list
interchange-users [at] icdevgroup
http://www.icdevgroup.org/mailman/listinfo/interchange-users

Interchange users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.