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 Valodim <va...@mugenguild.com> on 2010/04/27 09:43:40 UTC
Embedded / Servlet simultaneous use
Hi guys,
I am wondering if having an EmbeddedServer and regular Servlet running
on the same solr_home, using the former to add to the index and the
latter to query it, makes sense as a server setup.
The query is not critical, if something is indexed but only later shown
in query results due to caching that is okay.
I did some testing and it seemed to work just fine, but that's hardly a
base for production use of this method. I could not find anything about
this on the mailing list or elsewhere.
Anyone else have experience with this? I'd welcome any hints.
- Vincent
Re: Embedded / Servlet simultaneous use
Posted by Chris Hostetter <ho...@fucit.org>.
: I am wondering if having an EmbeddedServer and regular Servlet running
: on the same solr_home, using the former to add to the index and the
: latter to query it, makes sense as a server setup.
having two instances of Solr pointed at the same solr home (regardless of
wether one is Embeddedor or not) should generally work ok as long as only
one ever writes to hte index -- but it's not something that's generally
recommended.
using some form of replication (even if you rae using Embedded Solr you
cna still use teh script based replication) tends to be safer.
-Hoss