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

Jared Flatow commented on SOLR-993:
-----------------------------------

In that case, what about splitting the names that are added as you previously 
suggested, so that "c.d" adds "a.b.c", then "a.b.c.d"? At least, for the 
addToNamespace(name, key, value) method. If you think it is useful to have that 
behavior, it makes sense, and at least it will be well-defined. Right now, the 
fact that the lookup of "a.b.c.d" relies on "a.b.c" not existing seems really 
bad.

> VariableResolverImpl addNamespace overwrites entire namespace instead of 
> adding
> -------------------------------------------------------------------------------
>
>                 Key: SOLR-993
>                 URL: https://issues.apache.org/jira/browse/SOLR-993
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.4
>            Reporter: Jared Flatow
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 1.4
>
>         Attachments: SOLR-993.patch, SOLR-993b.patch
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> The addNamespace method in VariableResolverImpl does not so much add the 
> namespace as overwrite it. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to