hi!

here's the situation:

there are multiple rails apps running on the same server
they all use different port number (specified in sphinx.yml) and there
is one database and one searchd instance per application
something like

app1.mydomain.com, port 3312, db1
app2.mydomain.com, port 3313, db2
...

i am wondering if it would somehow be possible for all of them to use
one port and one searchd instance? i imagine it would need
production.sphinx.conf merged?

would that be difficult to merge them? is it better to leave them as
they are, having one searchd instance per app?

-------------------------------

second question is this:

apart from "database per application" dbs there is one external
database.

external db is Shared between all the apps (using establish_connection
function in the model)

all the apps (app1,app2,app3) can add/remove records from Shared db

f.ex. app2 can see/modify records inserted by app1.

i added TS search for model using shared db (in define_index), but, if
f.ex. i create/update a record on app1, app2 cannot find it.

Is it because db/sphinx/production/sharedmodel_delta gets updated Only
on app1, and not on app2?

If so, how can i make app2 find records created/updated by app1?

from what i understood answer is to use timestamp/datetime deltas?

or is it possible to somehow merge index of Shared db tables so that
there would be just one index which would also be shared between apps?

thanks,
Pavel

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