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

Julien Nioche commented on NUTCH-1241:
--------------------------------------

Entering '.+/product/.*' is not that user-unfriendly. As for performance I 
don't think the actual regex takes much of the time here. Feel free to change 
it to find if you feel strongly about it though :-) What we should probably do 
is incorporate this functionality wihtin the crawldb reader instead of having a 
separate class for it.
                
> 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

        

Reply via email to