You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "mosh (JIRA)" <ji...@apache.org> on 2019/02/19 16:14:00 UTC

[jira] [Commented] (SOLR-13151) Provide regex based category validation for CategoryRoutedAliases

    [ https://issues.apache.org/jira/browse/SOLR-13151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16772064#comment-16772064 ] 

mosh commented on SOLR-13151:
-----------------------------

{quote}This ticket will add the check to enforce a (configurable, optional) regular expression to enreject requests that attempt to add an unexpected category, or a malformed category to a category routed alias
{quote}
Should the data value match *router.mustMatch*, or should the created collection name match it?
 I am not sure which option is more desirable.
 [~gus_heck],
 WDYT?

> Provide regex based category validation for CategoryRoutedAliases
> -----------------------------------------------------------------
>
>                 Key: SOLR-13151
>                 URL: https://issues.apache.org/jira/browse/SOLR-13151
>             Project: Solr
>          Issue Type: Sub-task
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: UpdateRequestProcessors
>    Affects Versions: master (9.0)
>            Reporter: Gus Heck
>            Priority: Major
>
> This ticket will add the check to enforce a (configurable, optional) regular expression to enreject requests that attempt to add an unexpected category, or a malformed category to a category routed alias. The purpose of this check is to provide a safety valve to ensure that unexpected data values don't cause creation of collections inconsistent with the user's intended design. This check should happen within the validateRouteValue() method specified by RoutedAlias



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org