You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Jonathan Ariel <io...@gmail.com> on 2008/01/23 14:35:07 UTC
Embedded Solr and Servlet Solr
Hi!
I am using Solr (the classic servlet one) in my application. But for special
cases, and just for the sake of optimization, I would like to access it
locally so I can avoid HTTP calls and XML serializing. This is for full re
indexation of Solr, which is much faster in embedded environment than
servlet.
Is it possible to use SolrJ in my web application to access Solr remotely
and use SolrJ in a simple application to access Solr locally for full re
indexation?
Thanks!
Jonathan
Re: Embedded Solr and Servlet Solr
Posted by Ryan McKinley <ry...@gmail.com>.
> Is it possible to use SolrJ in my web application to access Solr remotely
> and use SolrJ in a simple application to access Solr locally for full re
> indexation?
>
yes - check: http://wiki.apache.org/solr/Solrj
for remote, use CommonsHttpSolrServer and for local, use:
EmbeddedSolrServer.
ryan