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 Furkan KAMACI <fu...@gmail.com> on 2013/04/30 17:13:45 UTC

What Happens When I Unload A Core?

I use Solr 4.2.1

What happens if I unload a core, I mean what does Solr do? Because solr.xml
didn't change and I think that Solr should writes something to somewhere or
deletes something from somewhere?

Re: What Happens When I Unload A Core?

Posted by Furkan KAMACI <fu...@gmail.com>.
Oops, it changes solr.xml, OK.

2013/4/30 Furkan KAMACI <fu...@gmail.com>

> I have closed my application and restarted it.If it didn't change anything
> could you tell me how admin page says:
>
> "There are no SolrCores running.
>  Using the Solr Admin UI currently requires at least one SolrCore."
>
> I think it stored something to somewhere?
>
>
> 2013/4/30 Shalin Shekhar Mangar <sh...@gmail.com>
>
>> By default, an unload action will only unregister the Solr core (locally
>> and from zookeeper if running in cloud mode) to stop it from taking
>> requests. It will not delete any files.
>>
>> The UNLOAD action also accepts the following parameters:
>> 1. deleteIndex=true -- will delete the solr index after the core is
>> unregistered (asynchronously)
>> 2. deleteDataDir=true -- will delete the entire data directory
>> 3. deleteInstanceDir=true -- will delete the entire instance directory
>> including configuration files
>>
>>
>> On Tue, Apr 30, 2013 at 8:43 PM, Furkan KAMACI <furkankamaci@gmail.com
>> >wrote:
>>
>> > I use Solr 4.2.1
>> >
>> > What happens if I unload a core, I mean what does Solr do? Because
>> solr.xml
>> > didn't change and I think that Solr should writes something to
>> somewhere or
>> > deletes something from somewhere?
>> >
>>
>>
>>
>> --
>> Regards,
>> Shalin Shekhar Mangar.
>>
>
>

Re: What Happens When I Unload A Core?

Posted by Shalin Shekhar Mangar <sh...@gmail.com>.
The UNLOAD command removes the core name from solr.xml


On Tue, Apr 30, 2013 at 11:28 PM, Furkan KAMACI <fu...@gmail.com>wrote:

> I have closed my application and restarted it.If it didn't change anything
> could you tell me how admin page says:
>
> "There are no SolrCores running.
>  Using the Solr Admin UI currently requires at least one SolrCore."
>
> I think it stored something to somewhere?
>
>
> 2013/4/30 Shalin Shekhar Mangar <sh...@gmail.com>
>
> > By default, an unload action will only unregister the Solr core (locally
> > and from zookeeper if running in cloud mode) to stop it from taking
> > requests. It will not delete any files.
> >
> > The UNLOAD action also accepts the following parameters:
> > 1. deleteIndex=true -- will delete the solr index after the core is
> > unregistered (asynchronously)
> > 2. deleteDataDir=true -- will delete the entire data directory
> > 3. deleteInstanceDir=true -- will delete the entire instance directory
> > including configuration files
> >
> >
> > On Tue, Apr 30, 2013 at 8:43 PM, Furkan KAMACI <furkankamaci@gmail.com
> > >wrote:
> >
> > > I use Solr 4.2.1
> > >
> > > What happens if I unload a core, I mean what does Solr do? Because
> > solr.xml
> > > didn't change and I think that Solr should writes something to
> somewhere
> > or
> > > deletes something from somewhere?
> > >
> >
> >
> >
> > --
> > Regards,
> > Shalin Shekhar Mangar.
> >
>



-- 
Regards,
Shalin Shekhar Mangar.

Re: What Happens When I Unload A Core?

Posted by Furkan KAMACI <fu...@gmail.com>.
I have closed my application and restarted it.If it didn't change anything
could you tell me how admin page says:

"There are no SolrCores running.
 Using the Solr Admin UI currently requires at least one SolrCore."

I think it stored something to somewhere?


2013/4/30 Shalin Shekhar Mangar <sh...@gmail.com>

> By default, an unload action will only unregister the Solr core (locally
> and from zookeeper if running in cloud mode) to stop it from taking
> requests. It will not delete any files.
>
> The UNLOAD action also accepts the following parameters:
> 1. deleteIndex=true -- will delete the solr index after the core is
> unregistered (asynchronously)
> 2. deleteDataDir=true -- will delete the entire data directory
> 3. deleteInstanceDir=true -- will delete the entire instance directory
> including configuration files
>
>
> On Tue, Apr 30, 2013 at 8:43 PM, Furkan KAMACI <furkankamaci@gmail.com
> >wrote:
>
> > I use Solr 4.2.1
> >
> > What happens if I unload a core, I mean what does Solr do? Because
> solr.xml
> > didn't change and I think that Solr should writes something to somewhere
> or
> > deletes something from somewhere?
> >
>
>
>
> --
> Regards,
> Shalin Shekhar Mangar.
>

Re: What Happens When I Unload A Core?

Posted by Shalin Shekhar Mangar <sh...@gmail.com>.
By default, an unload action will only unregister the Solr core (locally
and from zookeeper if running in cloud mode) to stop it from taking
requests. It will not delete any files.

The UNLOAD action also accepts the following parameters:
1. deleteIndex=true -- will delete the solr index after the core is
unregistered (asynchronously)
2. deleteDataDir=true -- will delete the entire data directory
3. deleteInstanceDir=true -- will delete the entire instance directory
including configuration files


On Tue, Apr 30, 2013 at 8:43 PM, Furkan KAMACI <fu...@gmail.com>wrote:

> I use Solr 4.2.1
>
> What happens if I unload a core, I mean what does Solr do? Because solr.xml
> didn't change and I think that Solr should writes something to somewhere or
> deletes something from somewhere?
>



-- 
Regards,
Shalin Shekhar Mangar.