You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Markus Jelsma (Updated) (JIRA)" <ji...@apache.org> on 2012/01/05 15:15:39 UTC

[jira] [Updated] (NUTCH-1244) CrawlDBDumper to filter by regex

     [ https://issues.apache.org/jira/browse/NUTCH-1244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Markus Jelsma updated NUTCH-1244:
---------------------------------

    Attachment: NUTCH-1244-1.5-1.patch

Patch for 1.5. It relies on an exact match of the whole expression using Matcher.matches(). However, i believe Matcher.find() would be more suitable as it allows substrings to be matches as-is without having to match the rest of the URL with a character class and a quantifier. This allows non-regex-experts to quickly get a list of URL's with a given substring as well.
                
> CrawlDBDumper to filter by regex
> --------------------------------
>
>                 Key: NUTCH-1244
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1244
>             Project: Nutch
>          Issue Type: Improvement
>            Reporter: Markus Jelsma
>            Assignee: Markus Jelsma
>            Priority: Minor
>             Fix For: 1.5
>
>         Attachments: NUTCH-1244-1.5-1.patch
>
>
> The CrawlDBDumper tool should be able to filter records by an option regular expression.

--
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