Hi Manish I’m afraid this isn’t currently possible with Thinking Sphinx.
The major complication here is that every single document in Sphinx must have a unique id (even documents in different indices). In a single app, TS does this by calculating an offset for primary key values based on the number of indices defined. If this approach was to work across multiple apps, TS would need to know about all indices that may possibly be hosted by the single Sphinx instance. You’d also need some way to combine the configuration files in a way that was reliable. This all isn’t impossible, but it is very difficult and almost certainly not worth the effort. Regards, — Pat > On 21 Sep 2016, at 5:30 AM, [email protected] wrote: > > I have 4 Rails projects all using their own Sphinx on different ports. > > I would like to consolidate them all to use one Sphinx and able to search > across all 4. > > Is there a way I can use ThinkingSphinx to index each project into a separate > namespace or domain and then search against that specific namespace/domain or > have option to search across all namespaces/domains? > > -- > You received this message because you are subscribed to the Google Groups > "Thinking Sphinx" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/thinking-sphinx > <https://groups.google.com/group/thinking-sphinx>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/thinking-sphinx. For more options, visit https://groups.google.com/d/optout.
