You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Sebastian Nagel (JIRA)" <ji...@apache.org> on 2019/01/18 15:25:00 UTC
[jira] [Resolved] (NUTCH-2663) Improve index-jexl-filter syntax for
scripts
[ https://issues.apache.org/jira/browse/NUTCH-2663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sebastian Nagel resolved NUTCH-2663.
------------------------------------
Resolution: Fixed
Merged PR. Thanks, [~jorgelbg]!
> Improve index-jexl-filter syntax for scripts
> --------------------------------------------
>
> Key: NUTCH-2663
> URL: https://issues.apache.org/jira/browse/NUTCH-2663
> Project: Nutch
> Issue Type: Improvement
> Components: indexer, plugin
> Affects Versions: 1.16
> Reporter: Jorge Luis Betancourt Gonzalez
> Assignee: Jorge Luis Betancourt Gonzalez
> Priority: Minor
> Fix For: 1.16
>
>
> JEXL scripts need to be written using the array syntax to get the actual value (for instance, example extracted from the tests):
> {code}
> doc.lang[0]=='en'
> {code}
> Ideally, this would only be required if the actual value is really an array, and not for single value elements.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)