[jira] [Updated] (NUTCH-2662) index-jexl-filter plugin throws a RuntimeException if its enabled but not configured

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (NUTCH-2662) index-jexl-filter plugin throws a RuntimeException if its enabled but not configured

David Eric Pugh (Jira)

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

Sebastian Nagel updated NUTCH-2662:
-----------------------------------
    Fix Version/s: 1.17

> index-jexl-filter plugin throws a RuntimeException if its enabled but not configured
> ------------------------------------------------------------------------------------
>
>                 Key: NUTCH-2662
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2662
>             Project: Nutch
>          Issue Type: Improvement
>          Components: plugin
>    Affects Versions: 1.16
>            Reporter: Jorge Luis Betancourt Gonzalez
>            Assignee: Jorge Luis Betancourt Gonzalez
>            Priority: Minor
>             Fix For: 1.17
>
>
> If the index-jexl-filter plugin is enabled but no configuration is provided in the {{index.jexl.filter}} property the plugin throws a RuntimeException. In the same exception message, we advise to either set true or false to index all/none.
> This is a case where we can just select a sane default and log a warning, but not stop the entire process. I think this is more consistent with how we approach configuration in general: Only fail if there is an actual error in the configuration (i.e parse error on the expression).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)