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 elisabeth benoit <el...@gmail.com> on 2016/07/25 13:09:13 UTC

solr 5.5.2 loadOnStartUp does not work

Hello,

I have a core.properties with content

name=indexer
loadOnStartup=false


but the core is loaded on start up (it appears on the admin interface).

I thougth the core would be unloaded on startup. did I miss something?


best regards,

elisabeth

Re: solr 5.5.2 loadOnStartUp does not work

Posted by elisabeth benoit <el...@gmail.com>.
Hello,

Thanks for your answer.

Yes, it seems a little tricky to me.

Best regards,
Elisabeth

2016-07-25 18:06 GMT+02:00 Erick Erickson <er...@gmail.com>:

> "Load" is a little tricky here, it means "load the core and open a
> searcher.
> The core _descriptor_ which is the internal structure of
> core.properties (plus some other info) _is_ loaded and is what's
> used to show the list of available cores. Else how would you
> even know the core existed?
>
> It's not until you actually try to do anything (even click on the
> item in the "cores" drop-down) that the heavy-duty
> work of opening the core actually executes.
>
> So I think it's working as expected,. But do note
> that this whole area (transient cores, loading on
> startup true/false) is intended for stand-alone
> Solr and is unsupported in SolrCloud.
>
> Best,
> Erick
>
> On Mon, Jul 25, 2016 at 6:09 AM, elisabeth benoit
> <el...@gmail.com> wrote:
> > Hello,
> >
> > I have a core.properties with content
> >
> > name=indexer
> > loadOnStartup=false
> >
> >
> > but the core is loaded on start up (it appears on the admin interface).
> >
> > I thougth the core would be unloaded on startup. did I miss something?
> >
> >
> > best regards,
> >
> > elisabeth
>

Re: solr 5.5.2 loadOnStartUp does not work

Posted by Erick Erickson <er...@gmail.com>.
"Load" is a little tricky here, it means "load the core and open a searcher.
The core _descriptor_ which is the internal structure of
core.properties (plus some other info) _is_ loaded and is what's
used to show the list of available cores. Else how would you
even know the core existed?

It's not until you actually try to do anything (even click on the
item in the "cores" drop-down) that the heavy-duty
work of opening the core actually executes.

So I think it's working as expected,. But do note
that this whole area (transient cores, loading on
startup true/false) is intended for stand-alone
Solr and is unsupported in SolrCloud.

Best,
Erick

On Mon, Jul 25, 2016 at 6:09 AM, elisabeth benoit
<el...@gmail.com> wrote:
> Hello,
>
> I have a core.properties with content
>
> name=indexer
> loadOnStartup=false
>
>
> but the core is loaded on start up (it appears on the admin interface).
>
> I thougth the core would be unloaded on startup. did I miss something?
>
>
> best regards,
>
> elisabeth