I've got four websites that are edited via one CMS (hanging off one of the sites) like this:
www.domain1.com
www.domain2.com
www.domain3.com
www.domain4.com
www.domain4.com/cms
I'll be using Lucene to index the textual content (from database and uploaded documents) of all four sites. The index will have to be available to both the CMS system, and the search page on each domain / website (which may be on different physical servers).
So should I use one lucene index on the domain that hosts the CMS system, or put an index on each domain? (I'm guessing I'll have to write some sort of web service to tie everything together for either solution). Is there a recommended method for achieving this?
Thanks.