lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: [Solr 4.2.1] LotsOfCores - Can't query cores with loadOnStartup="true" and transient="true"
Date Mon, 20 May 2013 15:05:25 GMT
Lyuba:

Could you go ahead and raise a JIRA and assign it to me to
investigate? You should definitely be able to define cores this way.

Thanks,
Erick

On Sun, May 19, 2013 at 9:27 AM, Lyuba Romanchuk
<lyuba.romanchuk@gmail.com> wrote:
> Hi,
>
> It seems like in order to query transient cores they must be defined with
> loadOnStartup="false".
>
> I define one core loadOnStartup="true" and transient="false", and another
> cores to be  loadOnStartup="true" and transient="true", and
> transientCacheSize=Integer.MAX_VALUE.
>
> In this case CoreContainer.dynamicDescriptors will be empty and then
> CoreContainer.getCoreFromAnyList(String) and CoreContainer.getCore(String)
> returns null for all transient cores.
>
> I looked at the code of 4.3.0 and it doesn't seem that the flow was
> changed, the core is added only if it's not loaded on start up.
>
> Could you please assist with this issue?
>
> Best regards,
> Lyuba

Mime
View raw message