You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by Marcel Gawron <ma...@gmail.com> on 2025/02/21 16:20:00 UTC
Issue during creation of Dimensional Routed Alias
Hi,
there seems to be an issue with creation of Dimensional Routed Aliases.
Using example command from:
https://solr.apache.org/guide/solr/latest/deployment-guide/alias-management.html#examples-using-createalias
The request is being rejected with an error message:
"A routed alias requires these params: [router.field, router.name] plus
some create-collection prefixed ones."
It became broken between releases:
9.2.1 (where it works) and
9.3.0 (where it doesn't).
From my triage, it looks like it has been broken by:
https://github.com/apache/solr/pull/1590
https://issues.apache.org/jira/browse/SOLR-16393
Although it wasn't detected by tests cause there were no tests for this use
case.
The ticket introducing that functionality
https://issues.apache.org/jira/browse/SOLR-13375
is currently open/unresolved, but the instructions exist on the reference
docs.
I've managed to hack around a fix (with tests):
https://github.com/margawron/solr/tree/dra_fix
Can you take a look ?
I am not yet so familiar with how that works under the hood.
Regards
Marcel Gawron
Re: Issue during creation of Dimensional Routed Alias
Posted by Marcel Gawron <ma...@gmail.com>.
Hi,
Here is the issue for interested:
https://issues.apache.org/jira/browse/SOLR-17680
Regards
Marcel
W dniu 21.02.2025 o 18:19, Gus Heck pisze:
> Hi Marcel,
>
> Thanks for bringing this up. This looks like it should definitely have a
> Jira issue. I'll look at this in the near future, if you want to create the
> Jira that's helpful, if not I'll create one when I look into it.
>
> -Gus
>
> On Fri, Feb 21, 2025 at 11:22 AM Marcel Gawron <ma...@gmail.com>
> wrote:
>
>> Hi,
>> there seems to be an issue with creation of Dimensional Routed Aliases.
>> Using example command from:
>>
>> https://solr.apache.org/guide/solr/latest/deployment-guide/alias-management.html#examples-using-createalias
>> The request is being rejected with an error message:
>> "A routed alias requires these params: [router.field, router.name] plus
>> some create-collection prefixed ones."
>> It became broken between releases:
>> 9.2.1 (where it works) and
>> 9.3.0 (where it doesn't).
>> From my triage, it looks like it has been broken by:
>> https://github.com/apache/solr/pull/1590
>> https://issues.apache.org/jira/browse/SOLR-16393
>> Although it wasn't detected by tests cause there were no tests for this use
>> case.
>> The ticket introducing that functionality
>> https://issues.apache.org/jira/browse/SOLR-13375
>> is currently open/unresolved, but the instructions exist on the reference
>> docs.
>>
>> I've managed to hack around a fix (with tests):
>> https://github.com/margawron/solr/tree/dra_fix
>> Can you take a look ?
>> I am not yet so familiar with how that works under the hood.
>>
>> Regards
>> Marcel Gawron
>>
>
Re: Issue during creation of Dimensional Routed Alias
Posted by Gus Heck <gu...@gmail.com>.
Hi Marcel,
Thanks for bringing this up. This looks like it should definitely have a
Jira issue. I'll look at this in the near future, if you want to create the
Jira that's helpful, if not I'll create one when I look into it.
-Gus
On Fri, Feb 21, 2025 at 11:22 AM Marcel Gawron <ma...@gmail.com>
wrote:
> Hi,
> there seems to be an issue with creation of Dimensional Routed Aliases.
> Using example command from:
>
> https://solr.apache.org/guide/solr/latest/deployment-guide/alias-management.html#examples-using-createalias
> The request is being rejected with an error message:
> "A routed alias requires these params: [router.field, router.name] plus
> some create-collection prefixed ones."
> It became broken between releases:
> 9.2.1 (where it works) and
> 9.3.0 (where it doesn't).
> From my triage, it looks like it has been broken by:
> https://github.com/apache/solr/pull/1590
> https://issues.apache.org/jira/browse/SOLR-16393
> Although it wasn't detected by tests cause there were no tests for this use
> case.
> The ticket introducing that functionality
> https://issues.apache.org/jira/browse/SOLR-13375
> is currently open/unresolved, but the instructions exist on the reference
> docs.
>
> I've managed to hack around a fix (with tests):
> https://github.com/margawron/solr/tree/dra_fix
> Can you take a look ?
> I am not yet so familiar with how that works under the hood.
>
> Regards
> Marcel Gawron
>
--
http://www.needhamsoftware.com (work)
https://a.co/d/b2sZLD9 (my fantasy fiction book)