You probably don't need to replicate the full contents of the index, but 
certainly having an index on each model is probably necessary. You'll also need 
to ensure that TS connects to Sphinx on the same address and port.

Let us know how you go.

-- 
Pat

On 24/10/2011, at 4:37 PM, cec wrote:

> Hi,
> 
> I'have two rails applications, that both use TS to index their models.
> 
> As a new requirement, application A needs to be able to search in
> model M of application B.
> 
> After adding to A's database.yml the connection details for the db of
> application B and duplicating M, I wonder what is the best approach to
> enable searching.
> 
> Do I have to define in A the same index on M that I use in B?
> (application A won't modify instance of M, so I don't need any
> deltas :) )
> 
> Is there a way to have TS talk to a different searchd instance when
> searching trhough M?
> 
> Thank you!
> 
> -- 
> 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.
> 

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

Reply via email to