LinkDb / invertlinks: command line arguments ignored
----------------------------------------------------

                 Key: NUTCH-1137
                 URL: https://issues.apache.org/jira/browse/NUTCH-1137
             Project: Nutch
          Issue Type: Bug
          Components: linkdb
    Affects Versions: 1.4, 1.5
            Reporter: Sebastian Nagel
            Priority: Minor


If the tool invertlinks is called with option -dir <segmentsDir> all remaining
arguments are ignored:
{noformat}
% $NUTCH_HOME/bin/nutch invertlinks linkdb -dir segments -noNormalize -noFilter
LinkDb: starting at 2011-09-28 23:24:07
LinkDb: linkdb: linkdb
LinkDb: URL normalize: true
LinkDb: URL filter: true
{noformat}
(URLs are normalized and filtered despite -noNormalize/-noFilter)

The patch also restricts the ordering of arguments according to the help text:
Usage: LinkDb <linkdb> (-dir <segmentsDir> | <seg1> <seg2> ...) [-force] 
[-noNormalize] [-noFilter]
(segments must be given before the optional flags)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to