Dear Wiki user, You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The "SolrCloud" page has been changed by YonikSeeley. The comment on this change is: proposal for top-level query API. http://wiki.apache.org/solr/SolrCloud?action=diff&rev1=11&rev2=12 -------------------------------------------------- == ZooKeeper == == Distributed Request == + Explicitly specify the addresses of shards you want to query: + {{{ + shards=localhost:8983/solr,localhost:7574/solr + }}} + Explicitly specify the addresses of shards you want to query, giving alternatives (delimited by |) used for load balancing and fail-over: + {{{ + shards=localhost:8983/solr|localhost:8985/solr,localhost:7574/solr|localhost:7576/solr + }}} + + Query all shards of a collection (the collection is implicit in the URL): + {{{ + http://localhost:8983/solr/collection1/select?shards=auto + }}} + + Query all shards of a compatible collection, explicitly specified: + {{{ + http://localhost:8983/solr/collection1/select?collection=collection1&shards=auto + }}} + + Query all shards of a compatible collection, explicitly specified: + {{{ + http://localhost:8983/solr/collection1/select?collection=collection1_recent&shards=auto + }}} + + Query all shards of multiple compatible collections, explicitly specified: + {{{ + http://localhost:8983/solr/collection1/select?collection=collection1_NY,collection1_NJ,collection1_CT&shards=auto + }}} + + Query specific logical shards: + {{{ + Hmmmm... + }}} = Developer Section = == TODO == @@ -33, +66 @@ * seems to require propagating more info into the search handler... need to know what logical shard is missing? if it's just a list of URLs (the shard addresses) then servers that aren't up would just be represented by a blank space: localhost:8983,,localhost:7574 * optionally run ZK server in Solr for simple dev cluster (zk data dir under the solr data dir?) + * document/demo the simplest two server distributed search solution in "getting started"... make it easy! + * look into changing the name of the ugly DEFAULT_COLLECTION == High level design goals == These are long term goals for SolrCloud. Many of these features will not be developed in the first versions, but we're designing for the long haul.
