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 <daru...@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. >