Solr already supports this . please refer this http://wiki.apache.org/solr/CoreAdmin#head-7ca1b98a9df8b8ca0dcfbfc49940ed5ac98c4a08
ensure that your solr.xml is persistent http://wiki.apache.org/solr/CoreAdmin#head-7508c24c6e2dadad2dfea39b2fba045062481da8 On Thu, May 14, 2009 at 3:43 PM, KK <dioxide.softw...@gmail.com> wrote: > Thank you very much. Got the point. > One off the track question, can we automate the creation of new cores[it > requires manually editing the solr.xml file as I know, and what about the > location of core index directory, do we need to point that manually as > well]. > After going through the wiki what I found is we've to mention the names of > cores in solr.xml. I want to automate the process in such a way that when a > user registers[ on say my site for the service], we'll create a coresponding > core for the same user and with a specific core id[unique for this user > only] so that the user will be given a search interface that will redirect > all searches for this user to http://host:port/<unique core name for this > user>/select > Will apprecite any ideas on this. > > Thanks, > KK. > > 2009/5/14 Noble Paul നോബിള് नोब्ळ् <noble.p...@corp.aol.com> > >> there is no hard limit on the no:of cores. it is limited by your >> system's ability to open files and the resources. >> the queries are automatically sent to appropriate core if your url is >> >> htt://host:port/<corename>/select >> >> On Thu, May 14, 2009 at 1:58 PM, KK <dioxide.softw...@gmail.com> wrote: >> > I want to know the maximum no of cores supported by Solr. 1000s or may be >> > millions all under one solr instance ? >> > Also I want to know how to redirect a particular query to a particular >> core. >> > Actually I'm querying solr from Ajax, so I think there must be some >> request >> > parameter that says which core we want to query, right? Can some one tell >> me >> > how to do this, any good pointers on the same will be helpful as well. >> > Thank you. >> > >> > --kk >> > >> >> >> >> -- >> ----------------------------------------------------- >> Noble Paul | Principal Engineer| AOL | http://aol.com >> > -- ----------------------------------------------------- Noble Paul | Principal Engineer| AOL | http://aol.com