Sort of answering my own question here too...
It seems like I need to get the current core, and use that to
instantiate a new SolrCore with the same exact config, other than the
dataDir.
The documentation for SolrCore()'s constructor says:
"If a core with the same name already exists, it w
Answering my own question...
I can use CoreContainer.reload("core name") to force a reload.
I assume that if I've got an EmbeddedSolrServer running at the time I
do this reload, everything will happen correctly under the covers.
So now I just need to find out how to programmatically change s
On May 22, 2010, at 11:24am, Ryan McKinley wrote:
Check:
http://wiki.apache.org/solr/CoreAdmin
Unless I'm missing something, I think you should be able to sort
what you need
If I'm using SolrJ, is there a programmatic way to force a reload of a
core?
This, of course, assumes that I'm a
On May 22, 2010, at 11:25am, Ryan McKinley wrote:
accidentally hit send...
Eache core can have the dataDir set explicitly.
If you want to do this with solrj, you would need to manipulate the
CoreDescriptor objects.
I'm hoping somebody can clarify what's up with the CoreDesc
accidentally hit send...
Eache core can have the dataDir set explicitly.
If you want to do this with solrj, you would need to manipulate the
CoreDescriptor objects.
ryan
On Sat, May 22, 2010 at 2:24 PM, Ryan McKinley wrote:
> Check:
> http://wiki.apache.org/solr/CoreAdm
Check:
http://wiki.apache.org/solr/CoreAdmin
Unless I'm missing something, I think you should be able to sort what you need
On Fri, May 21, 2010 at 7:55 PM, Ken Krugler
wrote:
> I've got a situation where my data directory (a) needs to live elsewhere
> besides inside of Solr home, (b) moves to
I've got a situation where my data directory (a) needs to live
elsewhere besides inside of Solr home, (b) moves to a different
location when updating indexes, and (c) setting up a symlink from
/data isn't a great option.
So what's the best approach to making this work with SolrJ? The low-
nope ..
But you can still use SolrJ to invoke DIH.
cretae a ModifiableSolrParams with the required request parameters
create a QueryRequest with the params and then set the path as /dataimport
and invoke the command with the CommonsHttpSolrServer#request()
On Fri, Mar 13, 2009 at 8:40 AM, Ashis
Is there any api in SolrJ that calls the dataImportHandler to execute
commands like full-import and delta-import.
Please help..
Ashish P wrote:
>
> Is it possible to index DB data directly to solr using EmbeddedSolrServer.
> I tried using data-Config File and Full-import commad, it works. So
>
Is it possible to index DB data directly to solr using EmbeddedSolrServer. I
tried using data-Config File and Full-import commad, it works. So assuming
using CommonsHttpServer will also work. But can I do it with
EmbeddedSolrServer??
Thanks in advance...
Ashish
--
View this message in context:
10 matches
Mail list logo