[
https://issues.apache.org/jira/browse/NUTCH-2663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16746414#comment-16746414
]
Hudson commented on NUTCH-2663:
-------------------------------
FAILURE: Integrated in Jenkins build Nutch-trunk #3601 (See
[https://builds.apache.org/job/Nutch-trunk/3601/])
NUTCH-2663 Improve the JEXL syntax for getting values from the
(jorge-luis.betancourt:
[https://github.com/apache/nutch/commit/b2ec5c4c1f19a704984f71e9b1c10d489017ae01])
* (edit)
src/plugin/index-jexl-filter/src/java/org/apache/nutch/indexer/jexl/JexlIndexingFilter.java
* (edit)
src/plugin/index-jexl-filter/src/test/org/apache/nutch/indexer/jexl/TestJexlIndexingFilter.java
* (edit) src/java/org/apache/nutch/util/JexlUtil.java
> 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)