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 (JIRA)" <ji...@apache.org> on 2012/06/21 15:00:43 UTC

[jira] [Created] (NUTCH-1407) BasicIndexingFilter to optionally add domain field

Markus Jelsma created NUTCH-1407:
------------------------------------

             Summary: BasicIndexingFilter to optionally add domain field
                 Key: NUTCH-1407
                 URL: https://issues.apache.org/jira/browse/NUTCH-1407
             Project: Nutch
          Issue Type: Improvement
            Reporter: Markus Jelsma
            Assignee: Markus Jelsma
             Fix For: 1.6
         Attachments: NUTCH-1407-1.6-1.patch

The basic indexing filter already adds the host field to a NutchDocument but no domain field. In Solr you can copyField a host field and obtain a domain field but this is a bit cumbersome and not very user friendly.

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

        

[jira] [Commented] (NUTCH-1407) BasicIndexingFilter to optionally add domain field

Posted by "Lewis John McGibbney (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13398841#comment-13398841 ] 

Lewis John McGibbney commented on NUTCH-1407:
---------------------------------------------

Big +1. I've recently been looking into URLUtil and really like it.
                
> BasicIndexingFilter to optionally add domain field
> --------------------------------------------------
>
>                 Key: NUTCH-1407
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1407
>             Project: Nutch
>          Issue Type: Improvement
>            Reporter: Markus Jelsma
>            Assignee: Markus Jelsma
>             Fix For: 1.6
>
>         Attachments: NUTCH-1407-1.6-1.patch
>
>
> The basic indexing filter already adds the host field to a NutchDocument but no domain field. In Solr you can copyField a host field and obtain a domain field but this is a bit cumbersome and not very user friendly.

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

        

[jira] [Commented] (NUTCH-1407) BasicIndexingFilter to optionally add domain field

Posted by "Lewis John McGibbney (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13398808#comment-13398808 ] 

Lewis John McGibbney commented on NUTCH-1407:
---------------------------------------------

Markus this looks fine to me however I am curious about your requirement to add this? Do you regularly need to query on this facet? +1 for patch 
                
> BasicIndexingFilter to optionally add domain field
> --------------------------------------------------
>
>                 Key: NUTCH-1407
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1407
>             Project: Nutch
>          Issue Type: Improvement
>            Reporter: Markus Jelsma
>            Assignee: Markus Jelsma
>             Fix For: 1.6
>
>         Attachments: NUTCH-1407-1.6-1.patch
>
>
> The basic indexing filter already adds the host field to a NutchDocument but no domain field. In Solr you can copyField a host field and obtain a domain field but this is a bit cumbersome and not very user friendly.

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

        

[jira] [Commented] (NUTCH-1407) BasicIndexingFilter to optionally add domain field

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13400520#comment-13400520 ] 

Hudson commented on NUTCH-1407:
-------------------------------

Integrated in nutch-trunk-maven #328 (See [https://builds.apache.org/job/nutch-trunk-maven/328/])
    NUTCH-1407 BasicIndexingFilter to optionally add domain field (Revision 1353585)

     Result = SUCCESS
markus : 
Files : 
* /nutch/trunk/CHANGES.txt
* /nutch/trunk/conf/nutch-default.xml
* /nutch/trunk/src/plugin/index-basic/src/java/org/apache/nutch/indexer/basic/BasicIndexingFilter.java

                
> BasicIndexingFilter to optionally add domain field
> --------------------------------------------------
>
>                 Key: NUTCH-1407
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1407
>             Project: Nutch
>          Issue Type: Improvement
>            Reporter: Markus Jelsma
>            Assignee: Markus Jelsma
>             Fix For: 1.6
>
>         Attachments: NUTCH-1407-1.6-1.patch
>
>
> The basic indexing filter already adds the host field to a NutchDocument but no domain field. In Solr you can copyField a host field and obtain a domain field but this is a bit cumbersome and not very user friendly.

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

        

[jira] [Resolved] (NUTCH-1407) BasicIndexingFilter to optionally add domain field

Posted by "Markus Jelsma (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NUTCH-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Markus Jelsma resolved NUTCH-1407.
----------------------------------

    Resolution: Fixed

Committed for 1.6 in rev. 1353585.
                
> BasicIndexingFilter to optionally add domain field
> --------------------------------------------------
>
>                 Key: NUTCH-1407
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1407
>             Project: Nutch
>          Issue Type: Improvement
>            Reporter: Markus Jelsma
>            Assignee: Markus Jelsma
>             Fix For: 1.6
>
>         Attachments: NUTCH-1407-1.6-1.patch
>
>
> The basic indexing filter already adds the host field to a NutchDocument but no domain field. In Solr you can copyField a host field and obtain a domain field but this is a bit cumbersome and not very user friendly.

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

        

[jira] [Commented] (NUTCH-1407) BasicIndexingFilter to optionally add domain field

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13401161#comment-13401161 ] 

Hudson commented on NUTCH-1407:
-------------------------------

Integrated in Nutch-trunk #1880 (See [https://builds.apache.org/job/Nutch-trunk/1880/])
    NUTCH-1407 BasicIndexingFilter to optionally add domain field (Revision 1353585)

     Result = FAILURE
markus : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1353585
Files : 
* /nutch/trunk/CHANGES.txt
* /nutch/trunk/conf/nutch-default.xml
* /nutch/trunk/src/plugin/index-basic/src/java/org/apache/nutch/indexer/basic/BasicIndexingFilter.java

                
> BasicIndexingFilter to optionally add domain field
> --------------------------------------------------
>
>                 Key: NUTCH-1407
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1407
>             Project: Nutch
>          Issue Type: Improvement
>            Reporter: Markus Jelsma
>            Assignee: Markus Jelsma
>             Fix For: 1.6
>
>         Attachments: NUTCH-1407-1.6-1.patch
>
>
> The basic indexing filter already adds the host field to a NutchDocument but no domain field. In Solr you can copyField a host field and obtain a domain field but this is a bit cumbersome and not very user friendly.

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

        

[jira] [Updated] (NUTCH-1407) BasicIndexingFilter to optionally add domain field

Posted by "Markus Jelsma (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NUTCH-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Markus Jelsma updated NUTCH-1407:
---------------------------------

    Attachment: NUTCH-1407-1.6-1.patch

Patch for 1.6. Any comments?
                
> BasicIndexingFilter to optionally add domain field
> --------------------------------------------------
>
>                 Key: NUTCH-1407
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1407
>             Project: Nutch
>          Issue Type: Improvement
>            Reporter: Markus Jelsma
>            Assignee: Markus Jelsma
>             Fix For: 1.6
>
>         Attachments: NUTCH-1407-1.6-1.patch
>
>
> The basic indexing filter already adds the host field to a NutchDocument but no domain field. In Solr you can copyField a host field and obtain a domain field but this is a bit cumbersome and not very user friendly.

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

        

[jira] [Commented] (NUTCH-1407) BasicIndexingFilter to optionally add domain field

Posted by "Markus Jelsma (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13398836#comment-13398836 ] 

Markus Jelsma commented on NUTCH-1407:
--------------------------------------

We usually filter subscribers by host or a small group of hosts. This is, however, not feasible for subscribers with millions of sub domains. It is, in Solr, possible to achieve with copyFields and some regular expressions or a custom update processor but that is cumbersome. Doing it with Nutch and URLUtil has also the advantage that it understands domains with more than one extension/suffix.
                
> BasicIndexingFilter to optionally add domain field
> --------------------------------------------------
>
>                 Key: NUTCH-1407
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1407
>             Project: Nutch
>          Issue Type: Improvement
>            Reporter: Markus Jelsma
>            Assignee: Markus Jelsma
>             Fix For: 1.6
>
>         Attachments: NUTCH-1407-1.6-1.patch
>
>
> The basic indexing filter already adds the host field to a NutchDocument but no domain field. In Solr you can copyField a host field and obtain a domain field but this is a bit cumbersome and not very user friendly.

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