You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jon Dorando (JIRA)" <ji...@apache.org> on 2016/08/12 19:51:20 UTC

[jira] [Updated] (SOLR-9412) Update Macro Expander for replacement logic

     [ https://issues.apache.org/jira/browse/SOLR-9412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jon Dorando updated SOLR-9412:
------------------------------
    Attachment: test_macro_expander.patch

> Update Macro Expander for replacement logic
> -------------------------------------------
>
>                 Key: SOLR-9412
>                 URL: https://issues.apache.org/jira/browse/SOLR-9412
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Jon Dorando
>            Priority: Minor
>         Attachments: test_macro_expander.patch
>
>
> MacroExpander class was updated to allow to return null when replacement parameters are missing. Right now it defaults to a blank space and it isn't easily verifiable that a parameter was missing. Additionally, unit tests were added for this case and the original use cases of Macro Expander.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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