Hi,

      I'm new to SolrCloud , trying to set up a test environment based on
the wiki documentation. Based on the example, the setup and sample indexing
/ query works fine. But I need some pointers on the best practices of
indexing / querying in SolrCloud. For e.g. I've 2 shards, with 1 leader and
a corresponding replica each. Lets say, each of them are running on their
dedicated servers.

Now, I'm using SolrJ client (CloudSolrServer) to send documents for
indexing. Based on SolrCloud fundamentals, I can send the document to any
of the four servers or to a specific shard id. Is it advisable to use the
server information directly into the client ? In case the specific node
goes down, then indexing will fail. Is it recommended to have a load
balancer (Haproxy , ELB in Amazon) for the indexing purpose ?

Same applies during query time. I know we can add a query parameter and
include all four server information. But then any change in the server
configuration will have an impact. Any help will be appreciated.

Thanks,

Shamik

Reply via email to