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 Andreas Hubold <an...@coremedia.com> on 2017/06/09 09:14:04 UTC

Solr 6.6 UNLOAD core broken?

Hi,

I just tried to update from Solr 6.5.1 to Solr 6.6.0 and observed a 
changed behaviour with regard to unloading cores in Solr standalone mode.

After unloading a core using the CoreAdmin API (e.g. via Admin UI), I 
still get search results for that core. It seems, the search request 
triggers automatic recreation of the core now. With Solr 6.5.1 search 
requests to unloaded cores were answered with 404 as expected.

Can you confirm this being a bug in 6.6.0 or is this an intended change?

Cheers,
Andreas


Re: Solr 6.6 UNLOAD core broken?

Posted by Erick Erickson <er...@gmail.com>.
Digging. Likely a result of SOLR-10007 and associated.

On Fri, Jun 9, 2017 at 7:30 AM, Mikhail Khludnev <mk...@apache.org> wrote:
> Hello,
>
> Reproduced and raised https://issues.apache.org/jira/browse/SOLR-10857
> Have no workaround, besides of request delete index dir on UNLOAD.
> Thanks for head up.
>
> On Fri, Jun 9, 2017 at 4:05 PM, simon <mt...@gmail.com> wrote:
>
>> I'm seeing the same behavior. The CoreAdminAPI call (as generated by the
>> Admin UI) looks correct, and the core.properties file is removed.
>>
>> I don't see anything in the CHANGES.txt for this release which would imply
>> such a change in behavior, nor anything in the 6.6 reference guide, so it
>> looks like a bug.
>>
>> -Simon
>>
>> On Fri, Jun 9, 2017 at 5:14 AM, Andreas Hubold <
>> andreas.hubold@coremedia.com
>> > wrote:
>>
>> > Hi,
>> >
>> > I just tried to update from Solr 6.5.1 to Solr 6.6.0 and observed a
>> > changed behaviour with regard to unloading cores in Solr standalone mode.
>> >
>> > After unloading a core using the CoreAdmin API (e.g. via Admin UI), I
>> > still get search results for that core. It seems, the search request
>> > triggers automatic recreation of the core now. With Solr 6.5.1 search
>> > requests to unloaded cores were answered with 404 as expected.
>> >
>> > Can you confirm this being a bug in 6.6.0 or is this an intended change?
>> >
>> > Cheers,
>> > Andreas
>> >
>> >
>>
>
>
>
> --
> Sincerely yours
> Mikhail Khludnev

Re: Solr 6.6 UNLOAD core broken?

Posted by Mikhail Khludnev <mk...@apache.org>.
Hello,

Reproduced and raised https://issues.apache.org/jira/browse/SOLR-10857
Have no workaround, besides of request delete index dir on UNLOAD.
Thanks for head up.

On Fri, Jun 9, 2017 at 4:05 PM, simon <mt...@gmail.com> wrote:

> I'm seeing the same behavior. The CoreAdminAPI call (as generated by the
> Admin UI) looks correct, and the core.properties file is removed.
>
> I don't see anything in the CHANGES.txt for this release which would imply
> such a change in behavior, nor anything in the 6.6 reference guide, so it
> looks like a bug.
>
> -Simon
>
> On Fri, Jun 9, 2017 at 5:14 AM, Andreas Hubold <
> andreas.hubold@coremedia.com
> > wrote:
>
> > Hi,
> >
> > I just tried to update from Solr 6.5.1 to Solr 6.6.0 and observed a
> > changed behaviour with regard to unloading cores in Solr standalone mode.
> >
> > After unloading a core using the CoreAdmin API (e.g. via Admin UI), I
> > still get search results for that core. It seems, the search request
> > triggers automatic recreation of the core now. With Solr 6.5.1 search
> > requests to unloaded cores were answered with 404 as expected.
> >
> > Can you confirm this being a bug in 6.6.0 or is this an intended change?
> >
> > Cheers,
> > Andreas
> >
> >
>



-- 
Sincerely yours
Mikhail Khludnev

Re: Solr 6.6 UNLOAD core broken?

Posted by simon <mt...@gmail.com>.
I'm seeing the same behavior. The CoreAdminAPI call (as generated by the
Admin UI) looks correct, and the core.properties file is removed.

I don't see anything in the CHANGES.txt for this release which would imply
such a change in behavior, nor anything in the 6.6 reference guide, so it
looks like a bug.

-Simon

On Fri, Jun 9, 2017 at 5:14 AM, Andreas Hubold <andreas.hubold@coremedia.com
> wrote:

> Hi,
>
> I just tried to update from Solr 6.5.1 to Solr 6.6.0 and observed a
> changed behaviour with regard to unloading cores in Solr standalone mode.
>
> After unloading a core using the CoreAdmin API (e.g. via Admin UI), I
> still get search results for that core. It seems, the search request
> triggers automatic recreation of the core now. With Solr 6.5.1 search
> requests to unloaded cores were answered with 404 as expected.
>
> Can you confirm this being a bug in 6.6.0 or is this an intended change?
>
> Cheers,
> Andreas
>
>