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 (Commented) (JIRA)" <ji...@apache.org> on 2012/01/04 10:39:38 UTC
[jira] [Commented] (NUTCH-1241) CrawlDBScanner should also be able
to find records
[ https://issues.apache.org/jira/browse/NUTCH-1241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179374#comment-13179374 ]
Markus Jelsma commented on NUTCH-1241:
--------------------------------------
yes of course but it is not user friendly. You cannot search for product in http://host/product/123 in a user friendly manner. Also, using a Matcher would slighly boost performance.
> CrawlDBScanner should also be able to find records
> --------------------------------------------------
>
> Key: NUTCH-1241
> URL: https://issues.apache.org/jira/browse/NUTCH-1241
> Project: Nutch
> Issue Type: Improvement
> Reporter: Markus Jelsma
> Assignee: Markus Jelsma
> Priority: Minor
> Fix For: 1.5
>
>
> The CrawlDBScanner cannot find partial matches because it uses String.match(); Instead, it should be able to use the Matcher.find() to find partial matches. Right now regex "http" will never match any records. It can then also reuse a compiled pattern.
--
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