开发者

Sphinx delta indexing with one search server and multiple clients

开发者 https://www.devze.com 2023-02-27 04:47 出处:网络
I\'ve a multihost environment with multiple web-server and o开发者_开发百科ne search server. It seems that delta indexing working only on the server, on which actually searchd works. Is there any way

I've a multihost environment with multiple web-server and o开发者_开发百科ne search server.

It seems that delta indexing working only on the server, on which actually searchd works. Is there any way to make delta-indexing work for all web server?


You'll need to use the delayed delta approach for delta indexing - and have Delayed Job running on the same server as searchd and your index files. Delta indexing must be centralised, and this is the best way to manage it.

Of course, if you're using a different job processing library (resque, workling, etc), it shouldn't be too hard to write your own version of ts-delayed-delta that behaves in the same way. There is a gem for Workling and TS though - and maybe resque, possibly others.

0

精彩评论

暂无评论...
验证码 换一张
取 消