lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abdelhamid ABID <aeh.a...@gmail.com>
Subject Re: Configuring RequestHandler in solrconfig.xml OR in the Servlet code using SolrJ
Date Mon, 21 Jun 2010 19:08:41 GMT
Why would someone port the solr config into servlet code  ?
IMO the first option would be the best choice, one obvious reason is that,
when alter the solr config you only need to restart the server, whereas
changing in the source drive you to redeploy your app and restart the
server.



On 6/21/10, Saïd Radhouani <r.steve.pdx@gmail.com> wrote:
>
> Hello,
>
> I'm developing a Web application that communicate with Solr using SolrJ. I
> have three search interfaces, and I'm facing two options:
>
> 1- Configuring one SearchHandler per search interface in solrconfig.xml
>
> Or
>
> 2- Write the configuration in the java servlet code that is using SolrJ
>
> It there any significant difference between these two options ? If yes,
> what's the best choice?
>
> Thanks,
>
> -Saïd




-- 
Abdelhamid ABID
Software Engineer- J2EE / WEB

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message