Jorge Luis Betancourt Gonzalez created NUTCH-2662:
-----------------------------------------------------
Summary: 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
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
(v7.6.3#76005)