You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Jorge Luis Betancourt Gonzalez (JIRA)" <ji...@apache.org> on 2018/01/30 14:47:00 UTC

[jira] [Commented] (NUTCH-2506) host is not available for filtering on the JEXL indexing plugin

    [ https://issues.apache.org/jira/browse/NUTCH-2506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16345135#comment-16345135 ] 

Jorge Luis Betancourt Gonzalez commented on NUTCH-2506:
-------------------------------------------------------

If the {{index-basic}} plugin is enabled, then the host is available under {{doc.host}}. The question is if we should add it as a default option for filtering or rely on the combination of {{index-basic}} + {{index-jexl-filter}}. In this case, I'm good with any option, I don't think a lot of people normally disable the {{index-basic}} plugin. But while using the plugin took me a second to notice it. We can also update the documentation for the plugin indicating at least what is usually available under the {{doc}} key (if the index-basic is enabled). @sebastian nagel

> host is not available for filtering on the JEXL indexing plugin
> ---------------------------------------------------------------
>
>                 Key: NUTCH-2506
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2506
>             Project: Nutch
>          Issue Type: Bug
>          Components: indexer, plugin
>    Affects Versions: 1.14
>            Reporter: Jorge Luis Betancourt Gonzalez
>            Assignee: Jorge Luis Betancourt Gonzalez
>            Priority: Minor
>             Fix For: 1.15
>
>
> The {{host}} attribute is not available for filtering on the {{JexlIndexingFilter}}. Take a look at the documentation on https://github.com/apache/nutch/blob/master/conf/nutch-default.xml#L1653-L1667. 
> This could be quite useful, although the {{url}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)