You're absolutely right. I went too fast.
We can access the http request parameters from the servlet filter though, so
this "quick fix" might be possible.
Henri


Yonik Seeley wrote:
> 
> On 7/11/07, Henrib <[EMAIL PROTECTED]> wrote:
>> Passing the core name as an Http request parameter to use an existing
>> core
>> is easy.
>> In the patched SolrServlet, replacing the first few lines of doGet with
>> the
>> code that follows should do the trick.
> 
> Not quite that easy, given that we are using a filter now
> (SolrDispatchFilter),
> which uses SolrRequestParsers to get the parameters (which currently
> requires the core), and can do other things such as handle a binary
> post body in addition to parsing params from the URL.  It looks like
> some of that code should be refactored so that the core is not needed,
> and then the core parameter could be retrieved from the resulting
> SolrParams.
> 
> IMO SolrServlet, being the older (original) implementation need not
> support multiple cores.
> 
> -Yonik
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Re%3A--jira--Commented%3A-%28SOLR-2-1-5%29-Multiple-Solr-Cores-tf4063316.html#a11548596
Sent from the Solr - Dev mailing list archive at Nabble.com.

Reply via email to