Have you looked at multiple cores for this problem? It sounds like it might work here...
Erick On Tue, Feb 16, 2010 at 11:30 AM, omshiralkar <omshiral...@yahoo.co.in>wrote: > > Hi, > I want Solr to point to different 'data' folders (which contains solr > index) > at run time. > I know it won't be possible in default Solr web application so I am using > embedded solr. > We need to create an instance of SolrServer. According to my belief only > way > to specify data folder is using solrconfig.xml. So once I specify a data > folder in config file and instantiate the object, it is not possible to > divert that server to another data folder. As I decoupled data into > multiple > data folders to simplify my problem I need to use these different data > folders accessible for my solr instance. > > Can somebody help me out??? > Thanks in advance! > -- > View this message in context: > http://old.nabble.com/How-to-swap-%27Data%27-folders-at-run-time---tp27611013p27611013.html > Sent from the Solr - Dev mailing list archive at Nabble.com. >