lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ran Peled <>
Subject Can I set up a config-based distributed search
Date Mon, 11 Apr 2011 12:31:10 GMT
In the Distributed Search page (, it is documented that in
order to perform a distributed search over a sharded index, I should use the
"shards" request parameter, listing the shards to participate in the search
(e.g. ?shards=localhost:8983/solr,localhost:7574/solr).   I am planning a
new pretty large index (1B+ items).  Say I have a 100 shards, specifying the
shards on the request URL becomes unrealistic due to length of URL.  It is
also redundant to do that on every request.

Is there a way to specify the list of shards in a configuration file,
instead of on the query URL?  I have seen references to relevant config in
SolrCloud, but as I understand it planned to be released only in Solr 4.0.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message