[ https://issues.apache.org/jira/browse/NUTCH-477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494531 ]
Sami Siren commented on NUTCH-477: ---------------------------------- I don't feel strongly about this but could enums be used instead of static Strings/ints because it gives us typesafety? +1 > Extend URLFilters to support different filtering chains > ------------------------------------------------------- > > Key: NUTCH-477 > URL: https://issues.apache.org/jira/browse/NUTCH-477 > Project: Nutch > Issue Type: Improvement > Affects Versions: 1.0.0 > Reporter: Andrzej Bialecki > Assigned To: Andrzej Bialecki > Fix For: 1.0.0 > > Attachments: urlfilters.patch > > > I propose to make the following changes to URLFilters: > * extend URLFilters so that they support different filtering rules depending > on the context where they are executed. This functionality mirrors the one > that URLNormalizers already support. > * change their return value to an int code, in order to support early > termination of long filtering chains. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nutch-developers mailing list Nutch-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nutch-developers