lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Parvin Gasimzade <parvin.gasimz...@gmail.com>
Subject Re: solr replication
Date Wed, 25 Jan 2012 09:26:40 GMT
Then as you say , shouldn't i define three SolrServer() using SolrJ?
For indexing call solrMasterServer, and for querying call solrSlaveServer1
or solrSlaveServer2?

On Wed, Jan 25, 2012 at 11:09 AM, darul <darul75@gmail.com> wrote:

> Here is the way I see it (and implemented it), while using SolrJ api you
> have
> to fire :
>
> - Indexation commands to your /indexation solr instance/ (master) example :
> http://myMaster:80/myCore/
> - Query commands to your /search solr instance/ (slave). You may have
> several slaves, and also find alternative as broker to make load balancing
> betweeen each....
> http://mySlave1:80/myCore/
> http://mySlave2:80/myCore/
> ...
>
> You do not need any changes in code normally, replication is made
> automatically and defined in your solrconfig.xml configuration file.
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/solr-replication-tp3687106p3687168.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message