It should be fine if you have multiple configuration files, each of
those uses a different port.
Following is my scenario:
I have three models (BuySellFile, RefinanceFile, ProjectFile) that
need to be indexed, so I have three conf files:
development.buy_sell_file.conf :
searchd
{
listen = 127.0.0.1:9311
...
}
index buy_sell_file
{
...
}
development.refinance_file.conf :
searchd
{
listen = 127.0.0.1:9312
...
}
index refinance_file
{
...
}
development.project_file.conf :
searchd
{
listen = 127.0.0.1:9313
...
}
index project_file
{
...
}
A pair of searchd and indexer goes with each of the conf files with a
different port number.
And I have a fourth conf file which is used as the searchd hub, no
indexer is needed here:
development.hub.sphinx.conf:
searchd
{
listen = 127.0.0.1:9310
...
}
index buy_sell_file
{
type = distributed
agent = 127.0.0.1:9311:buy_sell_file
charset_type = utf-8
}
index refinance_file
{
type = distributed
agent = 127.0.0.1:9312:refinance_file
charset_type = utf-8
}
index project_file
{
type = distributed
agent = 127.0.0.1:9313:project_file
charset_type = utf-8
}
After you start all four searchds, you can search everything through
port 9310. Hope this helps.
Best wishes,
Canvas
On Jun 1, 7:19 am, Pat Allan <[email protected]> wrote:
> I would recommend against it, but I'm really not sure.
>
> --
> Pat
>
> On 01/06/2010, at 11:36 PM, Piotr Sarnacki wrote:
>
>
>
> > Hi,
>
> > I know that it's sphinx questions rather than ts question, but... :
> > Is it safe to run multiple indexers at the same time? (ie. by having
> > multiple delayed job workers)
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Thinking Sphinx" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected].
> > For more options, visit this group
> > athttp://groups.google.com/group/thinking-sphinx?hl=en.- Hide quoted text -
>
> - Show quoted text -
--
You received this message because you are subscribed to the Google Groups
"Thinking Sphinx" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/thinking-sphinx?hl=en.