Reputation: 1550
According to Solr documentation you can add "shards" parameter for distributed search in the following syntax:
host:port/base_url[,host:port/base_url]
How can I tell Solr to use https:// ?
Upvotes: 1
Views: 450
Reputation: 1550
So the answer is located in solrconfig.xml of your core:
<shardHandlerFactory class="HttpShardHandlerFactory">
<str name="urlScheme">https://</str>
</shardHandlerFactory>
When you defining shards in your query
e.g. &shards=192.168.0.1:8983/solr/core,192.168.0.2:8983/solr/core
the shardHandlerFactory will prefix each server with specified value
in our case https://192.168.0.1:8983/solr/core
and https://192.168.0.2:8983/solr/core
.
Upvotes: 4