I'm trying to implement the search in the datestacks console using solat. I have two nodes that both Kassandra and Solar are running I am able to search solr using solrj though I have one of the nodes in the solar URL. I would like to know which configuration / code change I need to change so that solar nodes can be selected directly.
At this level, I am reading solar URL from an external file and it is called HTTPPLER server.
HTTPSSolarSolarStar = New HTTPSSolar (solar URL);
The external file contains solrUrl
Solr.URL = http: //192.168.100.12: 8983 / solr /
What can I do to improve existing?
-
You can use (remember: it only uses for queries Do), which allows you to provide multiple servers that SolrJ will use to distribute your queries.
-
If you have a solar cloud cluster, you use the ZooKeeper-aware server to automatically deliver your questions.
-
Third, you can set a regular HTTP load balancer (such as haparoxi, varnish, etc.)
-
You can set a special server Instead, you can also read a random line in the file, or you can use a separator. Select a server for the configuration line and split it on the separator and at random. This will not allow you to dynamically adjust the weight based on the query times (which an HTTP load balancers can do), but this will probably work well enough.
No comments:
Post a Comment