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

Reply via email to