A million of collections is rather drastic, but just as a basic answer, you also have collection aliases (in SolrCloud mode):
https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-CreateormodifyanAliasforaCollection You can also send request passing parameters in POST, rather than GET call. Regards, Alex. ---- Newsletter and resources for Solr beginners and intermediates: http://www.solr-start.com/ On 7 April 2016 at 12:38, Yangrui Guo <guoyang...@gmail.com> wrote: > Yes URL length is also one of my concerns. If, say, I have a million of > collections, must I specify all the collection names in the request to > perform a search across all collections? The reason I want to combine data > config into a single node is because I feel it is impractical to search > large amount of collections. > > On Wednesday, April 6, 2016, Alexandre Rafalovitch <arafa...@gmail.com> > wrote: > >> I believe the config request for DIH is read on every import, so it is >> entirely possible to just have one handler and pass the parameter for >> which specific file to use as the configuration. >> >> It is also possible to actually pass the full configuration as a URL >> parameter dataConfig. Need to watch out for the URL length though if >> using GET request. >> >> Regards, >> Alex. >> ---- >> Newsletter and resources for Solr beginners and intermediates: >> http://www.solr-start.com/ >> >> >> On 6 April 2016 at 00:12, Yangrui Guo <guoyang...@gmail.com <javascript:;>> >> wrote: >> > Hello >> > >> > I'm using Solr Cloud to index a number of databases. The problem is there >> > is unknown number of databases and each database has its own >> configuration. >> > If I create a single collection for every database the query would >> > eventually become insanely long. Is it possible to upload different >> config >> > to zookeeper for each node in a single collection? >> > >> > Best, >> > >> > Yangrui Guo >>