[tekwalk] Ruby/Rails utilizing Solr in Master/Slave setup

@ tekwalk.blogspot.com [16-November-2011]

http://tekwalk.blogspot.com/2011/11/rubyrails-utilizing-solr-in-masterslave.html

Apache Solr is a high-performance enterprise grade search server being interacted with a REST-like API, documents are provided to as xml, json or binary. It extendsLucene search library.

Ruby/Rails communicates with this awesome search server using Sunspot (sunspot, sunspot_rails gem) library, to do a full-text search. Nice tutorial to use Solr in your Rails project using Sunspot.

Solr can perform as a standalone search server and even as master/slave instances collaborating with each other, with slaves polling master to sync-in their data.

Solr instances can be configured like Slave and as a Master.
Configuration file ‘solrconfig.xml’ needs to be edited with a new RequestHandler for Replication configured: 

{for Slave} :: to either poll at their Master’s machine address at regular intervals

{for Master} :: or…..

…..click here to read in detail

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: