We want to use DSE Search from Datastax in our application. We have Cassandra on all nodes and SOLR on half of the nodes.
We can connect to one SOLR instance
@Bean
public SolrServer solrServer() {
String solrHost = environment.getRequiredProperty(SOLR_HOST);
return new HttpSolrServer(solrHost);
}
We would like to connect to SOLR in order to have load balancing and failover similar to the connection to SOLR Cloud :
@Bean
public SolrServer solrServer() throws MalformedURLException {
return new CloudSolrServer(environment.getRequiredProperty(ZK_HOST),
new LBHttpSolrServer(
environment.getRequiredProperty(SOLR_HOST1),
environment.getRequiredProperty(SOLR_HOST2),
environment.getRequiredProperty(SOLR_HOST3)));
}
Is something like this possible with DSE Search?