[
https://issues.apache.org/jira/browse/NUTCH-2602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16527977#comment-16527977
]
ASF GitHub Bot commented on NUTCH-2602:
---------------------------------------
r0ann3l commented on issue #356: fix for NUTCH-2602: Index writers description
URL: https://github.com/apache/nutch/pull/356#issuecomment-401418480
Reviewing it again I see when the arguments of index or clean commands are
not enough the `describe()` method is called before `open()` method. I think
the use of method `describe()` here is not useful because:
1. Shows the default values of the attributes.
2. The error is due to there are not enough arguments, it is not a
misconfigured index writer.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Configuration values in the description of index writers
> --------------------------------------------------------
>
> Key: NUTCH-2602
> URL: https://issues.apache.org/jira/browse/NUTCH-2602
> Project: Nutch
> Issue Type: Improvement
> Components: indexer, plugin
> Affects Versions: 1.15
> Reporter: Roannel Fernández Hernández
> Assignee: Roannel Fernández Hernández
> Priority: Minor
> Fix For: 1.16
>
>
> Since [GitHub Pull Request #218|https://github.com/apache/nutch/pull/218]
> when you have 2+ different configuration of the same index writers (the same
> implementation class), the index command print the same description several
> times. I propose the {{describe()}} method show the values of its own
> configuration and not a generic one.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)