But wait... embedded Solr doesn't support multicore, does it? Just
off memory, I think it's fixed to a single core.
Erik
On Mar 25, 2010, at 10:31 PM, Lance Norskog wrote:
All operations through the SolrJ work exactly the same against the
Solr web app and embedded Solr. You code the calls to update cores
with the same SolrJ APIs either way.
On Wed, Mar 24, 2010 at 2:19 PM, Nagelberg, Kallin
<knagelb...@globeandmail.com> wrote:
Hi,
I've got a situation where I need to reindex a core once a day. To
do this I was thinking of having two cores, one 'live' and one
'staging'. The app is always serving 'live', but when the daily
index happens it goes into 'staging', then staging is swapped into
'live'. I can see how to do this sort of thing over http, but I'm
using an embedded solr setup via solrJ. Any suggestions on how to
proceed? I could just have two solrServer's built from different
coreContainers, and then swap the references when I'm ready, but I
wonder if there is a better approach. Maybe grab a hold of the
CoreAdminHandler?
Thanks,
Kallin Nagelberg
--
Lance Norskog
goks...@gmail.com